From dac9a6b805f08588ecf950e7158a83e9630beeef Mon Sep 17 00:00:00 2001 From: richboo111 Date: Wed, 27 Jul 2022 10:18:59 +0800 Subject: [PATCH] log --- business/q_bida/q_bida_server.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/business/q_bida/q_bida_server.go b/business/q_bida/q_bida_server.go index ed5c06bd3..467f72ce3 100644 --- a/business/q_bida/q_bida_server.go +++ b/business/q_bida/q_bida_server.go @@ -200,9 +200,12 @@ func CreateWayOrder(ctx *jxcontext.Context, param *model.MakeOrderParamReq, user func CancelWayOrder(ctx *jxcontext.Context, userId string, param *bida.CancelOrderReq) error { // 查询订单 globals.SugarLogger.Debug("userid==================", userId) + globals.SugarLogger.Debug("param.order_no==================", param.OrderNo) //order:=get 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 { return err }