完善数据上报,每日支付任务认证
This commit is contained in:
@@ -20,6 +20,8 @@ type ServiceContext struct {
|
||||
TouristBindModel model.NhTouristBindModel
|
||||
CommunityModel model.NhTaskCommunityModel
|
||||
UserModel model.NhUserModel
|
||||
WalletModel model.NhWalletModel
|
||||
ConfigModel model.NhSystemConfigModel
|
||||
|
||||
Earn *ea.Client
|
||||
DBConn sqlx.SqlConn
|
||||
@@ -38,6 +40,9 @@ func NewServiceContext(c config.Config) *ServiceContext {
|
||||
PromoteBindModel: model.NewNhPromoteBindModel(dbConn),
|
||||
CommunityModel: model.NewNhTaskCommunityModel(dbConn),
|
||||
UserModel: model.NewNhUserModel(dbConn),
|
||||
TouristBindModel: model.NewNhTouristBindModel(dbConn),
|
||||
WalletModel: model.NewNhWalletModel(dbConn),
|
||||
ConfigModel: model.NewNhSystemConfigModel(dbConn, c.Cache),
|
||||
|
||||
Earn: c.Earn.BuildEarnClient(),
|
||||
DBConn: dbConn,
|
||||
|
||||
Reference in New Issue
Block a user