Browse Source

Merge branch 'feature/api-key'

* feature/api-key:
  创建时不进行缓存
boweniac 3 weeks ago
parent
commit
4c3b131af4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      internal/logic/api_key/create_api_key_logic.go

+ 1 - 1
internal/logic/api_key/create_api_key_logic.go

@@ -44,7 +44,7 @@ func (l *CreateApiKeyLogic) CreateApiKey(req *types.ApiKeyInfo) (resp *types.Bas
 	if err != nil {
 		return nil, dberrorhandler.DefaultEntError(l.Logger, err, req)
 	}
-	l.svcCtx.Rds.HSet(l.ctx, "api_key", apiKey, req)
+	//l.svcCtx.Rds.HSet(l.ctx, "api_key", apiKey, req)
 	return &types.BaseMsgResp{Msg: errormsg.CreateSuccess}, nil
 }