This commit is contained in:
Hiven 2023-07-24 13:03:43 +08:00
parent 5b4c43978e
commit f5cfed20d3

View File

@ -2,6 +2,7 @@ package logic
import (
"errors"
"fmt"
"fusenapi/constants"
"fusenapi/model/gmodel"
"fusenapi/utils/auth"
@ -123,23 +124,23 @@ func (l *UserOrderListLogic) UserOrderList(req *types.UserOrderListReq, userinfo
}
}
fsOrderAffiliateInfo := item.FsOrderAffiliateInfo
//fsOrderAffiliateInfo := item.FsOrderAffiliateInfo
fmt.Println(orderTimeConfig)
var getOrderStatusAndLogisticsReq = order.GetOrderStatusAndLogisticsReq{
OrderStatus: 1,
DeliveryMethod: 1,
IsPayCompleted: *item.IsAllProductCompleted,
SureTime: *fsOrderAffiliateInfo.SureTime,
ProductTime: *fsOrderAffiliateInfo.SureTime,
ProductEndtime: *fsOrderAffiliateInfo.SureTime,
DeliverTime: *fsOrderAffiliateInfo.SureTime,
UpsDeliverTime: *fsOrderAffiliateInfo.SureTime,
UpsTime: *fsOrderAffiliateInfo.SureTime,
ArrivalTime: *fsOrderAffiliateInfo.SureTime,
RecevieTime: *fsOrderAffiliateInfo.SureTime,
// IsPayCompleted: *item.IsAllProductCompleted,
// SureTime: *fsOrderAffiliateInfo.SureTime,
// ProductTime: *fsOrderAffiliateInfo.SureTime,
// ProductEndtime: *fsOrderAffiliateInfo.SureTime,
// DeliverTime: *fsOrderAffiliateInfo.SureTime,
// UpsDeliverTime: *fsOrderAffiliateInfo.SureTime,
// UpsTime: *fsOrderAffiliateInfo.SureTime,
// ArrivalTime: *fsOrderAffiliateInfo.SureTime,
// RecevieTime: *fsOrderAffiliateInfo.SureTime,
OrderCtime: *item.Ctime,
WebSetTimeInfo: orderTimeConfig,
// // OrderCtime: *item.Ctime,
// WebSetTimeInfo: orderTimeConfig,
}
statusAndLogisticsRes := order.GetOrderStatusAndLogistics(getOrderStatusAndLogisticsReq)