f
This commit is contained in:
@@ -82,6 +82,7 @@ type ServiceContext struct {
|
||||
ExampleModel model.ExampleModel
|
||||
GlobalNotificationsModel model.GlobalNotificationsModel
|
||||
AuthorizationDocumentModel model.AuthorizationDocumentModel
|
||||
InquiryRecordModel model.InquiryRecordModel
|
||||
|
||||
// 第三方服务
|
||||
TianyuanapiCallLogService *service.TianyuanapiCallLogService
|
||||
@@ -172,6 +173,7 @@ func NewServiceContext(c config.Config) *ServiceContext {
|
||||
exampleModel := model.NewExampleModel(db, cacheConf)
|
||||
globalNotificationsModel := model.NewGlobalNotificationsModel(db, cacheConf)
|
||||
authorizationDocumentModel := model.NewAuthorizationDocumentModel(db, cacheConf)
|
||||
inquiryRecordModel := model.NewInquiryRecordModel(db, cacheConf)
|
||||
tianyuanapiCallLogModel := model.NewTianyuanapiCallLogModel(db, cacheConf)
|
||||
|
||||
// ============================== 第三方服务初始化 ==============================
|
||||
@@ -297,6 +299,7 @@ func NewServiceContext(c config.Config) *ServiceContext {
|
||||
ExampleModel: exampleModel,
|
||||
GlobalNotificationsModel: globalNotificationsModel,
|
||||
AuthorizationDocumentModel: authorizationDocumentModel,
|
||||
InquiryRecordModel: inquiryRecordModel,
|
||||
|
||||
// 第三方服务
|
||||
TianyuanapiCallLogService: tianyuanapiCallLogService,
|
||||
|
||||
Reference in New Issue
Block a user