Refactor code

This commit is contained in:
wenxu12345
2022-01-06 18:00:15 +08:00
parent a677d4da5f
commit 5fef41e132
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -383,10 +383,11 @@ 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.TestTime = 1641450220
resp.Data = jsonData.JsonDataList(resp.FriendInfoList)
log.NewInfo(req.CommID.OperationID, "GetFriendList api return ", resp)
c.JSON(http.StatusOK, resp)
//c.JSON(http.StatusOK, resp)
}
func GetFriendApplyList(c *gin.Context) {