This commit is contained in:
aozhiwei 2024-11-11 13:51:08 +08:00
parent 50842ca3b9
commit f8738d39cb

View File

@ -53,6 +53,9 @@ func (this *User) Create() error {
}
func (this *User) DecDice(num int32) error {
if this.Score < int64(num) {
return errors.New("")
}
return nil
}