初始化
parent
8465ec2f33
commit
c4094b17f0
|
@ -66,7 +66,7 @@ public class AliPayController {
|
||||||
}
|
}
|
||||||
|
|
||||||
@PostMapping("/notify") // 注意这里必须是POST接口
|
@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")) {
|
if (request.getParameter("trade_status").equals("TRADE_SUCCESS")) {
|
||||||
System.out.println("=========支付宝异步回调========");
|
System.out.println("=========支付宝异步回调========");
|
||||||
|
|
||||||
|
@ -95,7 +95,7 @@ public class AliPayController {
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return Result.success();
|
return "success";
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue