log
This commit is contained in:
@@ -251,6 +251,8 @@ func CancelWayOrder(ctx *jxcontext.Context, userId string, param *bida.CancelOrd
|
|||||||
}
|
}
|
||||||
// 暂时考虑余额支付渠道,加载order表判断支付渠道方式
|
// 暂时考虑余额支付渠道,加载order表判断支付渠道方式
|
||||||
orderWay, err := dao.GetOrderByID(db, param.OrderNo)
|
orderWay, err := dao.GetOrderByID(db, param.OrderNo)
|
||||||
|
globals.SugarLogger.Debug("============", orderWay.PayPrice)
|
||||||
|
globals.SugarLogger.Debug("========= dfedfwfwdsw", orderWay.PayMethod)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
@@ -258,8 +260,7 @@ func CancelWayOrder(ctx *jxcontext.Context, userId string, param *bida.CancelOrd
|
|||||||
//if err := dao.GetEntity(dao.GetDB(), orderWay, "OrderID", "UserID"); err != nil {
|
//if err := dao.GetEntity(dao.GetDB(), orderWay, "OrderID", "UserID"); err != nil {
|
||||||
// return err
|
// return err
|
||||||
//}
|
//}
|
||||||
globals.SugarLogger.Debug("============", orderWay.PayPrice)
|
|
||||||
globals.SugarLogger.Debug("========= dfedfwfwdsw", orderWay.PayMethod)
|
|
||||||
if orderWay.PayMethod == 1 { // 余额支付
|
if orderWay.PayMethod == 1 { // 余额支付
|
||||||
// 支付方式为余额支付,则需要修改order/userVendorOrder,修改订单状态,给用户账户价钱,生成一个价钱数据
|
// 支付方式为余额支付,则需要修改order/userVendorOrder,修改订单状态,给用户账户价钱,生成一个价钱数据
|
||||||
} else if orderWay.PayMethod == 2 { // 微信支付
|
} else if orderWay.PayMethod == 2 { // 微信支付
|
||||||
|
|||||||
Reference in New Issue
Block a user