优化
This commit is contained in:
@@ -24,10 +24,10 @@ type LoginResult struct {
|
||||
type AuthService struct {
|
||||
uc *biz.UserUsecase
|
||||
runtime *conf.Runtime
|
||||
settings *SettingsService
|
||||
settings *SecurityService
|
||||
}
|
||||
|
||||
func NewAuthService(uc *biz.UserUsecase, runtime *conf.Runtime, settings *SettingsService) *AuthService {
|
||||
func NewAuthService(uc *biz.UserUsecase, runtime *conf.Runtime, settings *SecurityService) *AuthService {
|
||||
return &AuthService{uc: uc, runtime: runtime, settings: settings}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user