Refactor code

pull/131/head
wenxu12345 3 years ago
parent 136e0cde06
commit a677d4da5f

@ -383,6 +383,7 @@ func GetFriendList(c *gin.Context) {
}
resp := api.GetFriendListResp{CommResp: api.CommResp{ErrCode: RpcResp.ErrCode, ErrMsg: RpcResp.ErrMsg}, FriendInfoList: RpcResp.FriendInfoList}
resp.FriendInfoList[0].CreateTime = resp.FriendInfoList[0].CreateTime / 100
resp.Data = jsonData.JsonDataList(resp.FriendInfoList)
log.NewInfo(req.CommID.OperationID, "GetFriendList api return ", resp)
c.JSON(http.StatusOK, resp)

Loading…
Cancel
Save