mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-17 04:25:06 +08:00
增加支付回调地址的配置
This commit is contained in:
@ -49,9 +49,10 @@ public class PayOrderController {
|
||||
|
||||
// ========== 支付渠道的回调 ==========
|
||||
|
||||
@PostMapping("/notify/wx-pub")
|
||||
@PostMapping("/notify/wx-pub/{channelId}")
|
||||
@ApiOperation("通知微信公众号的结果")
|
||||
public String notifyWxPayOrder(@RequestBody String xmlData) {
|
||||
public String notifyWxPayOrder(@PathVariable("channelId") Long channelId,
|
||||
@RequestBody String xmlData) {
|
||||
System.out.println(xmlData);
|
||||
return "success";
|
||||
}
|
||||
|
Reference in New Issue
Block a user