log
This commit is contained in:
@@ -200,7 +200,8 @@ 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)
|
||||||
order := &model.UserVendorOrder{UserId: userId, LocalWayBill: param.OrderNo}
|
//order:=get
|
||||||
|
order := model.UserVendorOrder{UserId: userId, LocalWayBill: param.OrderNo}
|
||||||
globals.SugarLogger.Debugf("hjghauifhwquihfuiojqw== %s ", order.OtherWayBill)
|
globals.SugarLogger.Debugf("hjghauifhwquihfuiojqw== %s ", 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