提交修改
This commit is contained in:
parent
33ecd52c07
commit
a54bc76d3c
@ -61,7 +61,7 @@ public class ZhenZhenLogAop {
|
||||
|
||||
|
||||
public final static List<String> not_login_urls = Arrays.asList(user_login_url, anonymous_login_url,
|
||||
"/app/weixin/payNotify","/app/weixin/refundNotify");
|
||||
"/app/weixin/payNotify","/app/weixin/refundNotify","/app/weixin/customer/verify","/app/weixin/customer/receiveMessage");
|
||||
|
||||
|
||||
public Map<String,String> classHasAnnotation = new HashMap();
|
||||
|
||||
@ -24,6 +24,10 @@ public class AppWeiXinCustomerNotifyController {
|
||||
/**
|
||||
* 验证回调 URL (GET 请求)
|
||||
*/
|
||||
// https://api.1024api.com/api-interface/app/weixin/customer/verify?msg_signature=5392430904602161909×tamp=1737681600&nonce=1234567890&echostr=1234567890
|
||||
|
||||
// https://api.1024api.com/api-interface/app/weixin/customer/verify
|
||||
|
||||
@GetMapping("/verify")
|
||||
public String verify(@RequestParam("msg_signature") String msgSignature,
|
||||
@RequestParam("timestamp") String timestamp,
|
||||
@ -47,6 +51,7 @@ public class AppWeiXinCustomerNotifyController {
|
||||
/**
|
||||
* 接收回调消息 (POST 请求)
|
||||
*/
|
||||
// /app/weixin/customer/receiveMessage
|
||||
@PostMapping("/receiveMessage")
|
||||
public String receiveMessage(@RequestParam("msg_signature") String msgSignature,
|
||||
@RequestParam("timestamp") String timestamp,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user