From 3201f4d26da6833274894ec7a5477a1686df8949 Mon Sep 17 00:00:00 2001 From: Hiven Date: Mon, 24 Jul 2023 10:10:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../internal/logic/userorderlistlogic.go | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/server/home-user-auth/internal/logic/userorderlistlogic.go b/server/home-user-auth/internal/logic/userorderlistlogic.go index f75db264..ea5cf6cd 100644 --- a/server/home-user-auth/internal/logic/userorderlistlogic.go +++ b/server/home-user-auth/internal/logic/userorderlistlogic.go @@ -6,7 +6,8 @@ import ( "fusenapi/model/gmodel" "fusenapi/utils/auth" "fusenapi/utils/basic" - "fusenapi/utils/configs" + + //"fusenapi/utils/configs" "fusenapi/utils/format" "fusenapi/utils/order" "math" @@ -86,10 +87,10 @@ func (l *UserOrderListLogic) UserOrderList(req *types.UserOrderListReq, userinfo var respList []types.Items if listResLen > 0 { // 获取订单时间配置 - orderTimeConfig, err := configs.GetOrderTimeConfig(l.ctx, l.svcCtx.MysqlConn) - if err != nil { - return resp.SetStatusWithMessage(basic.CodeServiceErr, "failed to get config time info") - } + // orderTimeConfig, err := configs.GetOrderTimeConfig(l.ctx, l.svcCtx.MysqlConn) + // if err != nil { + // return resp.SetStatusWithMessage(basic.CodeServiceErr, "failed to get config time info") + // } // 数据处理 for _, item := range listRes { @@ -134,8 +135,8 @@ func (l *UserOrderListLogic) UserOrderList(req *types.UserOrderListReq, userinfo ArrivalTime: *fsOrderAffiliateInfo.SureTime, RecevieTime: *fsOrderAffiliateInfo.SureTime, - OrderCtime: *item.Ctime, - WebSetTimeInfo: orderTimeConfig, + OrderCtime: *item.Ctime, + //WebSetTimeInfo: orderTimeConfig, }) // 流程控制