权限注解增加备注
This commit is contained in:
@@ -3,6 +3,7 @@ package com.czg.controller;
|
||||
import com.alibaba.fastjson2.JSONObject;
|
||||
import com.czg.CzgPayUtils;
|
||||
import com.czg.entity.CzgBaseRespParams;
|
||||
import com.czg.mq.PrintMqListener;
|
||||
import com.czg.order.service.OrderInfoService;
|
||||
import com.czg.task.StatisticTask;
|
||||
import com.czg.utils.AssertUtil;
|
||||
@@ -10,6 +11,7 @@ import jakarta.annotation.Resource;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
@@ -47,8 +49,10 @@ public class NotifyController {
|
||||
return SUCCESS;
|
||||
}
|
||||
|
||||
@Resource
|
||||
private PrintMqListener printMqListener;
|
||||
@RequestMapping("/test")
|
||||
public void test() {
|
||||
statisticTask.run();
|
||||
public void test(@RequestParam String id) {
|
||||
printMqListener.orderPrint(id);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user