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