调整公众号服务校验接口
This commit is contained in:
parent
d5c6226930
commit
76ba23188c
|
|
@ -9,7 +9,7 @@ import javax.annotation.Resource;
|
||||||
|
|
||||||
|
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("api/channel/oa")
|
@RequestMapping("api/channel/oa/callback")
|
||||||
@Api(tags = "公众号服务器验证及消息回复")
|
@Api(tags = "公众号服务器验证及消息回复")
|
||||||
public class ChannelOaCallBackController {
|
public class ChannelOaCallBackController {
|
||||||
|
|
||||||
|
|
@ -19,7 +19,7 @@ public class ChannelOaCallBackController {
|
||||||
|
|
||||||
// 公众号服务器验证, 消息回复
|
// 公众号服务器验证, 消息回复
|
||||||
@NotLogin
|
@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,
|
public String authGet(@RequestParam(name = "signature", required = false) String signature,
|
||||||
@RequestParam(name = "timestamp", required = false) String timestamp,
|
@RequestParam(name = "timestamp", required = false) String timestamp,
|
||||||
@RequestParam(name = "nonce", required = false) String nonce,
|
@RequestParam(name = "nonce", required = false) String nonce,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue