From 4ee84e10fd7d45d7fc4034d736072c2925f721a4 Mon Sep 17 00:00:00 2001 From: wenxu12345 <44203734@qq.com> Date: Mon, 25 Apr 2022 21:13:46 +0800 Subject: [PATCH] fix bug --- internal/api/user/user.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/api/user/user.go b/internal/api/user/user.go index 46e51af45..ad06838cf 100644 --- a/internal/api/user/user.go +++ b/internal/api/user/user.go @@ -205,7 +205,7 @@ func GetSelfUserInfo(c *gin.Context) { log.NewInfo(req.OperationID, utils.GetSelfFuncName(), updateUserInfoReq.String()) etcdConnCache := getcdv3.GetConn(config.Config.Etcd.EtcdSchema, strings.Join(config.Config.Etcd.EtcdAddr, ","), config.Config.RpcRegisterName.OpenImCacheName) cacheClient := cache.NewCacheClient(etcdConnCache) - := cacheClient.UpdateUserInfo(context.Background(), updateUserInfoReq) + cacheClient.UpdateUserInfo(context.Background(), updateUserInfoReq) //if err != nil { // log.NewError(req.OperationID, "UpdateUserInfo cache failed ", err.Error(), req.String()) // c.JSON(http.StatusInternalServerError, gin.H{"errCode": 500, "errMsg": "call rpc server failed: " + err.Error()})