feat:callback
This commit is contained in:
@@ -200,12 +200,9 @@ public class OpenApiController {
|
|||||||
@RequestParam(value = "echostr", required = false) String echostr,
|
@RequestParam(value = "echostr", required = false) String echostr,
|
||||||
@RequestBody(required = false) String requestBody) {
|
@RequestBody(required = false) String requestBody) {
|
||||||
|
|
||||||
System.out.println("收到微信消息:");
|
log.info("url:{}","/open/v1/");
|
||||||
System.out.println("signature: " + signature);
|
log.info("callback_signature:{},timestamp:{},nonce:{}",signature,timestamp,nonce);
|
||||||
System.out.println("timestamp: " + timestamp);
|
log.info("requestBody:{}",JSONObject.toJSONString(requestBody));
|
||||||
System.out.println("nonce: " + nonce);
|
|
||||||
System.out.println("echostr: " + echostr);
|
|
||||||
System.out.println("requestBody: " + requestBody);
|
|
||||||
|
|
||||||
if (StringUtils.isNotEmpty(requestBody)) {
|
if (StringUtils.isNotEmpty(requestBody)) {
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user