This commit is contained in:
aozhiwei 2024-11-22 14:56:54 +08:00
parent ec3afce24d
commit c48861a913

View File

@ -78,6 +78,6 @@ func (this *BagApi) UseItem(c *gin.Context) {
return
}
service.Buff.Add(s.GetAccountId(), itemMeta.GetBuffList())
bagItem.DecItemNum(bagItem.ItemNum, int32(nowTime))
bagItem.DecItemNum(1, int32(nowTime))
c.JSON(200, rspObj)
}