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, }) // 流程控制