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