1
This commit is contained in:
parent
8f5d2e5a8f
commit
0fd221011e
@ -84,7 +84,7 @@ func (this *ShopApi) Buy(c *gin.Context) {
|
||||
chip.AccountId = s.GetAccountId()
|
||||
chip.ItemId = itemMeta.GetId()
|
||||
chip.ItemNum = 1
|
||||
chip.ExpireTime = int32(nowTime)
|
||||
chip.ExpireTime = int32(nowTime) + itemMeta.GetTime()
|
||||
chip.CreateTime = int32(nowTime)
|
||||
chip.ModifyTime = int32(nowTime)
|
||||
if chip.Create() != nil {
|
||||
|
Loading…
x
Reference in New Issue
Block a user