This commit is contained in:
aozhiwei 2024-11-11 17:28:10 +08:00
parent 398b6f5aa8
commit 2089437778

View File

@ -76,5 +76,9 @@ func (this *ShopApi) Buy(c *gin.Context) {
f5.RspErr(c, 500, "config error")
return
}
if err := user.DecScore(itemMeta.GetPrice()); err != nil {
f5.RspErr(c, 500, "server internal error5")
return
}
c.JSON(200, rspObj)
}