1、商城订单明慧帐户收费改回河马付帐户收款;
This commit is contained in:
parent
e1cb2b7662
commit
d2e296c90a
|
@ -480,8 +480,8 @@ func MallOrderCreate(c *gin.Context) {
|
|||
}
|
||||
|
||||
RespOK(c, ret)
|
||||
} else { // 其他则默认明慧账户收费
|
||||
webPay, err := wxpay.WebPay(order.SerialNo, order.Rm, user.WxOpenID, "N", wxpay.WxPayBuyGoods, configInfo.NotifyUrl, false)
|
||||
} else { // 其他则默认明慧河马付账户收费
|
||||
webPay, err := wxpay.HmJsPayUnifiedOrderForBuyGoods(order.SerialNo, order.Rm, user.WxOpenID, configInfo.NotifyUrl)
|
||||
if err != nil {
|
||||
logger.Error(errors.New("WebPay err"))
|
||||
RespJson(c, status.InternalServerError, nil)
|
||||
|
@ -495,21 +495,6 @@ func MallOrderCreate(c *gin.Context) {
|
|||
}
|
||||
|
||||
RespOK(c, ret)
|
||||
|
||||
//webPay, err := wxpay.HmJsPayUnifiedOrderForBuyGoods(order.SerialNo, order.Rm, user.WxOpenID, configInfo.NotifyUrl)
|
||||
//if err != nil {
|
||||
// logger.Error(errors.New("WebPay err"))
|
||||
// RespJson(c, status.InternalServerError, nil)
|
||||
// return
|
||||
//}
|
||||
//
|
||||
//ret := map[string]interface{}{
|
||||
// "web_pay": webPay,
|
||||
// "order_id": order.ID,
|
||||
// "order": order,
|
||||
//}
|
||||
//
|
||||
//RespOK(c, ret)
|
||||
}
|
||||
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue
Block a user