feat(contracts): provide SystemConfigService, UploadService and TaskService.GetExecutionByTaskID

This commit is contained in:
ryan
2026-09-03 09:42:12 +08:00
parent 4407589b62
commit c88c1c7b4e
12 changed files with 273 additions and 0 deletions
+1
View File
@@ -62,6 +62,7 @@ func (p *Plugin) Apply(ctx *core.Context) error {
core.Bind[contracts.StorageService](ctx, shared.SetStorageService)
core.Bind[contracts.TaskService](ctx, shared.SetTaskService)
core.Bind[contracts.AuthService](ctx, shared.SetAuthService)
core.Provide[contracts.UploadService](ctx, &uploadServiceImpl{})
ctx.OnDispose(func() error {
shared.ResetServices()