先锋赛季账号汇总数据接口

This commit is contained in:
2025-02-26 11:43:04 +08:00
parent 92fbd8dfd0
commit 2ca1138fbb
9 changed files with 308 additions and 2 deletions

View File

@@ -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,