pdd
This commit is contained in:
@@ -0,0 +1,29 @@
|
|||||||
|
package cn.van333.wxsend.business.controller;
|
||||||
|
|
||||||
|
import cn.van333.wxsend.aop.annotation.RateLimiter;
|
||||||
|
import cn.van333.wxsend.business.model.R;
|
||||||
|
import cn.van333.wxsend.business.service.LogService;
|
||||||
|
import org.slf4j.Logger;
|
||||||
|
import org.slf4j.LoggerFactory;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.ResponseBody;
|
||||||
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Leo
|
||||||
|
* @version 1.0
|
||||||
|
* @create 2023/10/07 0007 下午 02:25
|
||||||
|
* @description:
|
||||||
|
*/
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("/pdd")
|
||||||
|
public class PddController {
|
||||||
|
private static final Logger logger = LoggerFactory.getLogger(LogService.class);
|
||||||
|
|
||||||
|
@RequestMapping(value = "/callback")
|
||||||
|
@ResponseBody
|
||||||
|
@RateLimiter(time = 1, count = 60)
|
||||||
|
public R send() {
|
||||||
|
return R.ok();
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user