Merge branch 'feature_413_cjh' into dev/dev1.0
This commit is contained in:
commit
30b83b3645
|
@ -65,6 +65,8 @@ func WxCallback(c *gin.Context) {
|
|||
return
|
||||
}
|
||||
|
||||
notifyReqJson, _ := json.Marshal(notifyReq)
|
||||
logger.Info(c, "WxCallback-解析微信回调请求的参数到 V3NotifyReq 结构体", string(notifyReqJson))
|
||||
err = paymentService.WxPayCallBack(notifyReq, wxConfig)
|
||||
if err != nil {
|
||||
logger.Error(c, "WxCallback-回调执行失败,失败原因:", err.Error())
|
||||
|
@ -120,6 +122,9 @@ func AliCallback(c *gin.Context) {
|
|||
c.String(http.StatusBadRequest, "%s", "fail")
|
||||
return
|
||||
}
|
||||
|
||||
notifyReqJson, _ := json.Marshal(notifyReq)
|
||||
logger.Info(c, "AliCallback-解析支付宝支付异步通知的参数到BodyMap", string(notifyReqJson))
|
||||
err = paymentService.ALiCallBack(notifyReq, aliConfig)
|
||||
if err != nil {
|
||||
logger.Error(c, "AliCallback-回调执行失败,失败原因:", err.Error())
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue