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"); } }