3
This commit is contained in:
parent
c7b9542f95
commit
1e4b44178a
@ -61,7 +61,7 @@ func (r *User) GetUserInfo(c *gin.Context) {
|
|||||||
|
|
||||||
// 处理体重
|
// 处理体重
|
||||||
w, err := utils.StrToFloat64(userInfo.Weight)
|
w, err := utils.StrToFloat64(userInfo.Weight)
|
||||||
g.Height = w
|
g.Weight = w
|
||||||
|
|
||||||
responses.OkWithData(g, c)
|
responses.OkWithData(g, c)
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user