log
This commit is contained in:
@@ -198,7 +198,10 @@ 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()
|
||||
var (
|
||||
tmp_orderNo:=param.OrderNo
|
||||
db = dao.GetDB()
|
||||
)
|
||||
// 查询订单
|
||||
globals.SugarLogger.Debug("userid==================", userId)
|
||||
globals.SugarLogger.Debug("param.order_no==================", param.OrderNo)
|
||||
@@ -250,7 +253,7 @@ func CancelWayOrder(ctx *jxcontext.Context, userId string, param *bida.CancelOrd
|
||||
globals.SugarLogger.Debug("err==========================", err)
|
||||
}
|
||||
// 暂时考虑余额支付渠道,加载order表判断支付渠道方式
|
||||
orderWay, err := dao.GetOrderByID(db, param.OrderNo)
|
||||
orderWay, err := dao.GetOrderByID(db, cancelParma.OrderNo)
|
||||
globals.SugarLogger.Debug("============", orderWay.PayPrice)
|
||||
globals.SugarLogger.Debug("========= dfedfwfwdsw", orderWay.PayMethod)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user