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
@@ -99,6 +99,7 @@ func (p *Plugin) Apply(ctx *core.Context) error {
core.Bind[contracts.RiskControlService](ctx, service.SetRiskControlService)
service.SetEventEmitter(ctx.Events().Emit)
core.Provide[contracts.PublicConfigProvider](ctx, service.PublicConfigAdapter{})
core.Provide[contracts.SystemConfigService](ctx, service.SystemConfigServiceImpl{})
ctx.OnDispose(func() error {
service.ResetServices()