修改api包
This commit is contained in:
@@ -49,6 +49,7 @@ func NewApplication(configPath string) (*Application, error) {
|
||||
// 3. 初始化 API 入口点
|
||||
apiServer := api.NewAPI(
|
||||
cfg.Server,
|
||||
logs.AddCompName(context.Background(), "API"),
|
||||
infra.repos.userRepo,
|
||||
appServices.pigFarmService,
|
||||
appServices.pigBatchService,
|
||||
|
||||
Reference in New Issue
Block a user