1
This commit is contained in:
parent
ec3afce24d
commit
c48861a913
@ -78,6 +78,6 @@ func (this *BagApi) UseItem(c *gin.Context) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
service.Buff.Add(s.GetAccountId(), itemMeta.GetBuffList())
|
service.Buff.Add(s.GetAccountId(), itemMeta.GetBuffList())
|
||||||
bagItem.DecItemNum(bagItem.ItemNum, int32(nowTime))
|
bagItem.DecItemNum(1, int32(nowTime))
|
||||||
c.JSON(200, rspObj)
|
c.JSON(200, rspObj)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user