初始化

master
法外狂徒张三 2024-08-30 20:35:23 +08:00
parent 8465ec2f33
commit c4094b17f0
1 changed files with 2 additions and 2 deletions

View File

@ -66,7 +66,7 @@ public class AliPayController {
}
@PostMapping("/notify") // 注意这里必须是POST接口
public Result payNotify(HttpServletRequest request) throws Exception {
public String payNotify(HttpServletRequest request) throws Exception {
if (request.getParameter("trade_status").equals("TRADE_SUCCESS")) {
System.out.println("=========支付宝异步回调========");
@ -95,7 +95,7 @@ public class AliPayController {
}
}
return Result.success();
return "success";
}
}