fix
This commit is contained in:
@@ -101,7 +101,7 @@ func (l *CartAddLogic) CartAdd(req *types.CartAddReq, userinfo *auth.UserInfo) (
|
||||
logx.Error(err)
|
||||
return resp.SetStatusWithMessage(basic.CodeServiceErr, "failed to get cart info")
|
||||
}
|
||||
now := time.Now().Unix()
|
||||
now := time.Now().UTC().Unix()
|
||||
nowTime := time.Now().UTC()
|
||||
data := gmodel.FsCart{
|
||||
UserId: &userinfo.UserId,
|
||||
|
||||
@@ -85,7 +85,7 @@ func (l *CreateOrderLogic) CreateOrder(req *types.CreateOrderReq, userinfo *auth
|
||||
mapModel3d[v.Id] = k
|
||||
}
|
||||
var (
|
||||
now = time.Now().Unix()
|
||||
now = time.Now().UTC().Unix()
|
||||
total int64 //总价
|
||||
)
|
||||
orderSn := id_generator.GenSnNum()
|
||||
|
||||
Reference in New Issue
Block a user