调整公众号服务校验接口

This commit is contained in:
mofung1 2023-03-21 15:37:54 +08:00
parent d5c6226930
commit 76ba23188c
1 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ import javax.annotation.Resource;
@RestController
@RequestMapping("api/channel/oa")
@RequestMapping("api/channel/oa/callback")
@Api(tags = "公众号服务器验证及消息回复")
public class ChannelOaCallBackController {
@ -19,7 +19,7 @@ public class ChannelOaCallBackController {
// 公众号服务器验证 消息回复
@NotLogin
@GetMapping(name = "/callback", produces = "text/plain;charset=utf-8")
@GetMapping(produces = "text/plain;charset=utf-8")
public String authGet(@RequestParam(name = "signature", required = false) String signature,
@RequestParam(name = "timestamp", required = false) String timestamp,
@RequestParam(name = "nonce", required = false) String nonce,