1
This commit is contained in:
parent
87765dcfe6
commit
7dab957007
@ -91,5 +91,8 @@ func (this *ShopApi) Buy(c *gin.Context) {
|
||||
f5.RspErr(c, 500, "server internal error")
|
||||
return
|
||||
}
|
||||
rspObj.SideEffect = new(vo.SideEffect)
|
||||
rspObj.SideEffect.User = new(vo.User)
|
||||
rspObj.SideEffect.User.FromModel(user)
|
||||
c.JSON(200, rspObj)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user