f
This commit is contained in:
@@ -56,6 +56,7 @@ import (
|
||||
"tyapi-server/internal/infrastructure/external/westdex"
|
||||
"tyapi-server/internal/infrastructure/external/xingwei"
|
||||
"tyapi-server/internal/infrastructure/external/yushan"
|
||||
"tyapi-server/internal/infrastructure/external/yuyuecha"
|
||||
"tyapi-server/internal/infrastructure/external/zhicha"
|
||||
"tyapi-server/internal/infrastructure/http/handlers"
|
||||
"tyapi-server/internal/infrastructure/http/routes"
|
||||
@@ -415,6 +416,10 @@ func NewContainer() *Container {
|
||||
func(cfg *config.Config) (*haiyuapi.HaiyuapiService, error) {
|
||||
return haiyuapi.NewHaiyuapiServiceWithConfig(cfg)
|
||||
},
|
||||
// YuyuechaService - 愉悦查 OpenAPI
|
||||
func(cfg *config.Config) (*yuyuecha.YuyuechaService, error) {
|
||||
return yuyuecha.NewYuyuechaServiceWithConfig(cfg)
|
||||
},
|
||||
func(cfg *config.Config) *yushan.YushanService {
|
||||
return yushan.NewYushanService(
|
||||
cfg.Yushan.URL,
|
||||
|
||||
Reference in New Issue
Block a user