This commit is contained in:
aozhiwei 2024-11-10 12:38:33 +08:00
parent bfcfbf5390
commit 3b4659239d

View File

@ -26,6 +26,10 @@ func (this *ActivityApi) RollDice(c *gin.Context) {
f5.RspErr(c, 500, "server internal error")
return
}
if user.Dice <= 0 {
f5.RspErr(c, 1, "dice not enough")
return
}
rspObj := struct {
vo.BaseVo
}{}