先锋赛季账号汇总数据接口
This commit is contained in:
@@ -47,6 +47,7 @@ type ServiceContext struct {
|
||||
RoleModel model.NhRoleModel
|
||||
GamesPropertyModel model.NhGamesPropertyLogsModel
|
||||
AirdropModel model.NhAirdropLogModel
|
||||
PioneerRewardsModel model.NhPioneerRewardsModel
|
||||
|
||||
ApiKeyCheck rest.Middleware
|
||||
AdminSecretCheck rest.Middleware
|
||||
@@ -88,6 +89,7 @@ func NewServiceContext(c config.Config) *ServiceContext {
|
||||
RoleModel: model.NewNhRoleModel(dbConn),
|
||||
GamesPropertyModel: model.NewNhGamesPropertyLogsModel(dbConn),
|
||||
AirdropModel: model.NewNhAirdropLogModel(dbConn),
|
||||
PioneerRewardsModel: model.NewNhPioneerRewardsModel(dbConn),
|
||||
|
||||
ApiKeyCheck: middleware.NewApiKeyCheckMiddleware(configModel).Handle,
|
||||
AdminSecretCheck: middleware.NewAdminSecretCheckMiddleware(configModel).Handle,
|
||||
|
||||
Reference in New Issue
Block a user