log
This commit is contained in:
@@ -200,9 +200,12 @@ func CreateWayOrder(ctx *jxcontext.Context, param *model.MakeOrderParamReq, user
|
|||||||
func CancelWayOrder(ctx *jxcontext.Context, userId string, param *bida.CancelOrderReq) error {
|
func CancelWayOrder(ctx *jxcontext.Context, userId string, param *bida.CancelOrderReq) error {
|
||||||
// 查询订单
|
// 查询订单
|
||||||
globals.SugarLogger.Debug("userid==================", userId)
|
globals.SugarLogger.Debug("userid==================", userId)
|
||||||
|
globals.SugarLogger.Debug("param.order_no==================", param.OrderNo)
|
||||||
//order:=get
|
//order:=get
|
||||||
order := &model.UserVendorOrder{UserId: userId, LocalWayBill: param.OrderNo}
|
order := &model.UserVendorOrder{UserId: userId, LocalWayBill: param.OrderNo}
|
||||||
globals.SugarLogger.Debugf("hjghauifhwquihfuiojqw== %v ", &order.OtherWayBill)
|
//orders, err := QueryOrderDetail(param.Type, param.OrderNo)
|
||||||
|
//order := &orders
|
||||||
|
globals.SugarLogger.Debugf("hjghauifhwquihfuiojqw== %v ", order.OtherWayBill)
|
||||||
if err := dao.GetEntity(dao.GetDB(), order, "UserId", "LocalWayBill"); err != nil {
|
if err := dao.GetEntity(dao.GetDB(), order, "UserId", "LocalWayBill"); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user