log
This commit is contained in:
@@ -199,7 +199,8 @@ func CreateWayOrder(ctx *jxcontext.Context, param *model.MakeOrderParamReq, user
|
||||
// CancelWayOrder 取消运单 todo
|
||||
func CancelWayOrder(ctx *jxcontext.Context, userId string, param *bida.CancelOrderReq) error {
|
||||
var (
|
||||
db = dao.GetDB()
|
||||
tmp_orderNo = param.OrderNo
|
||||
db = dao.GetDB()
|
||||
)
|
||||
// 查询订单
|
||||
globals.SugarLogger.Debug("userid==================", userId)
|
||||
@@ -252,10 +253,10 @@ func CancelWayOrder(ctx *jxcontext.Context, userId string, param *bida.CancelOrd
|
||||
globals.SugarLogger.Debug("err==========================", err)
|
||||
}
|
||||
// 暂时考虑余额支付渠道,加载order表判断支付渠道方式
|
||||
orderWay, err := dao.GetOrderByID(db, cancelParma.OrderNo)
|
||||
globals.SugarLogger.Debug("============", orderWay.PayPrice)
|
||||
globals.SugarLogger.Debug("========= dfedfwfwdsw", orderWay.PayMethod)
|
||||
orderWay, err := dao.GetOrderByID(db, tmp_orderNo)
|
||||
if err != nil {
|
||||
globals.SugarLogger.Debug("============", orderWay.PayPrice)
|
||||
globals.SugarLogger.Debug("========= dfedfwfwdsw", orderWay.PayMethod)
|
||||
return err
|
||||
}
|
||||
//orderWay := &model.Order{OrderID: param.OrderNo, UserID: userId}
|
||||
|
||||
Reference in New Issue
Block a user