feat(app): update
This commit is contained in:
@ -108,7 +108,7 @@ func (client *ImClient) CreateImUser(userId, nickName, avatar string) error {
|
||||
logs.Info("YunXin_SignUp_Success_AccID_%s:"+res, userId)
|
||||
}
|
||||
}
|
||||
var body map[string]interface{}
|
||||
var body map[string]any
|
||||
if errJson := json.Unmarshal([]byte(res), &body); errJson != nil {
|
||||
return errJson
|
||||
}
|
||||
@ -129,7 +129,7 @@ func (client *ImClient) GetImUserInfo(userId string) error {
|
||||
sb.Append("accids=" + string(byteData))
|
||||
res, err := HyTools.HttpDo(httpMethod, url, header, sb.ToString())
|
||||
logs.Info("#" + "查询云信用户信息结果:" + res + "#")
|
||||
var body map[string]interface{}
|
||||
var body map[string]any
|
||||
if errJson := json.Unmarshal([]byte(res), &body); errJson != nil {
|
||||
return errJson
|
||||
}
|
||||
@ -423,7 +423,7 @@ func (client *ImClient) UpdateRoomInfo(request yunxin.UpdateRoomInfoRequest) (er
|
||||
return
|
||||
}
|
||||
|
||||
resMap := make(map[string]interface{})
|
||||
resMap := make(map[string]any)
|
||||
jsonErr := json.Unmarshal([]byte(res), &resMap)
|
||||
|
||||
if jsonErr != nil {
|
||||
|
||||
Reference in New Issue
Block a user