1
This commit is contained in:
parent
bfcfbf5390
commit
3b4659239d
@ -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
|
||||
}{}
|
||||
|
Loading…
x
Reference in New Issue
Block a user