|  |  |  | 
|---|
|  |  |  | package com.matrix.system.score.action; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import com.matrix.core.pojo.AjaxResult; | 
|---|
|  |  |  | import com.matrix.system.score.service.ScoreOrderService; | 
|---|
|  |  |  | import io.swagger.annotations.Api; | 
|---|
|  |  |  | import org.springframework.beans.factory.annotation.Autowired; | 
|---|
|  |  |  | import org.springframework.web.bind.annotation.GetMapping; | 
|---|
|  |  |  | import org.springframework.web.bind.annotation.RequestMapping; | 
|---|
|  |  |  | import org.springframework.beans.factory.annotation.Autowired; | 
|---|
|  |  |  | import org.springframework.web.bind.annotation.RestController; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * @author wzy | 
|---|
|  |  |  | * @date 2021-02-22 | 
|---|
|  |  |  | **/ | 
|---|
|  |  |  | @Api(value = "积分订单", tags = "积分订单") | 
|---|
|  |  |  | * @description 订单表 | 
|---|
|  |  |  | * @author jyy | 
|---|
|  |  |  | * @date 2021-02-26 15:26 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @RestController | 
|---|
|  |  |  | @RequestMapping(value = "/score/order") | 
|---|
|  |  |  | @RequestMapping(value = "admin/scoreOrder") | 
|---|
|  |  |  | public class ScoreOrderAction { | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Autowired | 
|---|
|  |  |  | private ScoreOrderService scoreOrderService; | 
|---|
|  |  |  | @Autowired | 
|---|
|  |  |  | private ScoreOrderService scoreOrderService; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @GetMapping(value = "/testApi") | 
|---|
|  |  |  | public AjaxResult testApi() { | 
|---|
|  |  |  | scoreOrderService.testMethod(); | 
|---|
|  |  |  | return AjaxResult.buildSuccessInstance("success"); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|