1
This commit is contained in:
parent
8cfc849ebf
commit
24abf20a58
@ -79,5 +79,7 @@ func (this *BagApi) UseItem(c *gin.Context) {
|
|||||||
}
|
}
|
||||||
service.Buff.Add(s.GetAccountId(), itemMeta.GetBuffList())
|
service.Buff.Add(s.GetAccountId(), itemMeta.GetBuffList())
|
||||||
bagItem.DecItemNum(1, int32(nowTime))
|
bagItem.DecItemNum(1, int32(nowTime))
|
||||||
|
q5.AppendSlice(&rspObj.BaseVo.GetOrCreateSideEffect().Effects, "buff")
|
||||||
|
q5.AppendSlice(&rspObj.BaseVo.GetOrCreateSideEffect().Effects, "bag")
|
||||||
c.JSON(200, rspObj)
|
c.JSON(200, rspObj)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user