mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-25 11:06:43 +08:00
getui
This commit is contained in:
parent
72146c08ae
commit
fadbb91287
@ -163,7 +163,7 @@ func (g *Getui) request(url string, content interface{}, token string, returnStr
|
|||||||
log.NewInfo(operationID, "getui", utils.GetSelfFuncName(), "resp, ", string(result))
|
log.NewInfo(operationID, "getui", utils.GetSelfFuncName(), "resp, ", string(result))
|
||||||
commonResp := GetuiCommonResp{}
|
commonResp := GetuiCommonResp{}
|
||||||
commonResp.Data = returnStruct
|
commonResp.Data = returnStruct
|
||||||
if err := json.Unmarshal(result, commonResp); err != nil {
|
if err := json.Unmarshal(result, &commonResp); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
|
Loading…
x
Reference in New Issue
Block a user