Helius
2021-02-22 b85c38cf3f843629cc0c206a2aa119117e82a6b4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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.web.bind.annotation.RestController;
 
/**
 * @author wzy
 * @date 2021-02-22
 **/
@Api(value = "积分订单", tags = "积分订单")
@RestController
@RequestMapping(value = "/score/order")
public class ScoreOrderAction {
 
    @Autowired
    private ScoreOrderService scoreOrderService;
 
    @GetMapping(value = "/testApi")
    public AjaxResult testApi() {
        scoreOrderService.testMethod();
        return AjaxResult.buildSuccessInstance("success");
    }
}