支付回调bug
This commit is contained in:
parent
fecca933bb
commit
d59efdfd6b
@ -222,7 +222,7 @@ public class AppOrderController extends BaseController {
|
||||
}
|
||||
|
||||
@Log(title = "回调", businessType = BusinessType.OTHER)
|
||||
@PostMapping("/payNotify")
|
||||
@PostMapping("/pay/payNotify")
|
||||
String payNotify(@RequestBody String xmlData) throws WxPayException {
|
||||
WxPayOrderNotifyResult notifyResult = wxPayService.parseOrderNotifyResult(xmlData);
|
||||
// TODO 根据自己业务场景需要构造返回对象
|
||||
|
@ -197,7 +197,7 @@ wxmini:
|
||||
appId: wx76ec015fc31a1946 #微信公众号或者小程序等的appid 必填
|
||||
mchId: 1486984962
|
||||
mchKey: 82aZ9Tb6eu5W2HdXKQWZU2SztU8w8nJ8
|
||||
notifyUrl: http://41.liyiren.me:8696/winery/order/payNotify
|
||||
notifyUrl: http://41.liyiren.me:8696/winery/order/pay/payNotify
|
||||
subAppId: #服务商模式下的子商户公众账号ID
|
||||
subMchId: #服务商模式下的子商户号
|
||||
tradeType: JSAPI #交易类型
|
||||
|
@ -115,6 +115,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter
|
||||
.antMatchers("/*/api-docs").anonymous()
|
||||
.antMatchers("/druid/**").anonymous()
|
||||
.antMatchers("/winery/mini/user/**").permitAll()
|
||||
.antMatchers("/winery/order/pay/**").permitAll()
|
||||
// 除上面外的所有请求全部需要鉴权认证
|
||||
.anyRequest().authenticated()
|
||||
.and()
|
||||
|
Loading…
x
Reference in New Issue
Block a user