feat(user): 新增iap支付
This commit is contained in:
@@ -22,6 +22,7 @@ type ServiceContext struct {
|
||||
QueryModel model.QueryModel
|
||||
AlipayService *service.AliPayService
|
||||
WechatPayService *service.WechatPayService
|
||||
ApplePayService *service.ApplePayService
|
||||
WestDexService *service.WestDexService
|
||||
AsynqServer *asynq.Server // 服务端
|
||||
AsynqService *service.AsynqService // 客户端
|
||||
@@ -51,6 +52,7 @@ func NewServiceContext(c config.Config) *ServiceContext {
|
||||
Redis: redis.MustNewRedis(redisConf),
|
||||
AlipayService: service.NewAliPayService(c),
|
||||
WechatPayService: service.NewWechatPayService(c),
|
||||
ApplePayService: service.NewApplePayService(c),
|
||||
WestDexService: westDexService,
|
||||
VerificationService: service.NewVerificationService(c, westDexService),
|
||||
AsynqServer: asynqServer,
|
||||
|
||||
Reference in New Issue
Block a user