new feature

This commit is contained in:
2025-04-23 17:48:38 +08:00
parent 04fe5f8ac0
commit ab282e4bcc
12 changed files with 1866 additions and 83 deletions

View File

@@ -27,6 +27,7 @@ type ServiceContext struct {
QueryModel model.QueryModel
GlobalNotificationsModel model.GlobalNotificationsModel
ExampleModel model.ExampleModel
ExampleParamsModel model.ExampleParamsModel
AlipayService *service.AliPayService
WechatPayService *service.WechatPayService
ApplePayService *service.ApplePayService
@@ -83,6 +84,7 @@ func NewServiceContext(c config.Config) *ServiceContext {
OrderModel: model.NewOrderModel(db, c.CacheRedis),
QueryModel: model.NewQueryModel(db, c.CacheRedis),
ExampleModel: model.NewExampleModel(db, c.CacheRedis),
ExampleParamsModel: model.NewExampleParamsModel(db, c.CacheRedis),
GlobalNotificationsModel: model.NewGlobalNotificationsModel(db, c.CacheRedis),
FeatureModel: featureModel,
ProductFeatureModel: productFeatureModel,