Error code standardization

This commit is contained in:
skiffer-git
2023-02-14 20:01:44 +08:00
parent e070a602f9
commit 64caafd6b6
7 changed files with 47 additions and 149 deletions
-1
View File
@@ -19,7 +19,6 @@ type AuthController struct {
}
func NewAuthController(rdb redis.UniversalClient, accessSecret string, accessExpire int64) *AuthController {
cache.NewRedisClient(rdb)
return &AuthController{database: cache.NewTokenRedis(cache.NewRedisClient(rdb), accessSecret, accessExpire)}
}