mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
fix bug
This commit is contained in:
parent
5f9f1ab996
commit
b0d8fe5c3d
@ -97,6 +97,8 @@ func GetUsersInfo(c *gin.Context) {
|
||||
|
||||
func UpdateUserInfo(c *gin.Context) {
|
||||
params := api.UpdateSelfUserInfoReq{}
|
||||
var t int32
|
||||
params.GlobalRecvMsgOpt = &t
|
||||
if err := c.BindJSON(¶ms); err != nil {
|
||||
log.NewError("0", "BindJSON failed ", err.Error())
|
||||
c.JSON(http.StatusBadRequest, gin.H{"errCode": 400, "errMsg": err.Error()})
|
||||
|
Loading…
x
Reference in New Issue
Block a user