提交修改

This commit is contained in:
quyixiao 2026-01-24 14:07:30 +08:00
parent 33ecd52c07
commit a54bc76d3c
2 changed files with 6 additions and 1 deletions

View File

@ -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();

View File

@ -24,6 +24,10 @@ public class AppWeiXinCustomerNotifyController {
/**
* 验证回调 URL (GET 请求)
*/
// https://api.1024api.com/api-interface/app/weixin/customer/verify?msg_signature=5392430904602161909&timestamp=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,