fix: ServiceModule 注册 AuthService 时补充 IConfigService 参数
This commit is contained in:
parent
54418db98e
commit
d95f4c02bc
|
|
@ -53,9 +53,10 @@ public class ServiceModule : Module
|
|||
var wechatService = c.Resolve<IWechatService>();
|
||||
var ipLocationService = c.Resolve<IIpLocationService>();
|
||||
var redisService = c.Resolve<IRedisService>();
|
||||
var configService = c.Resolve<IConfigService>();
|
||||
var jwtSettings = c.Resolve<JwtSettings>();
|
||||
var logger = c.Resolve<ILogger<AuthService>>();
|
||||
return new AuthService(dbContext, userService, jwtService, wechatService, ipLocationService, redisService, jwtSettings, logger);
|
||||
return new AuthService(dbContext, userService, jwtService, wechatService, ipLocationService, redisService, configService, jwtSettings, logger);
|
||||
}).As<IAuthService>().InstancePerLifetimeScope();
|
||||
|
||||
// ========== 支付系统服务注册 ==========
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user