feat(kol): marketplace + admin subscription HTTP endpoints

This commit is contained in:
2026-04-17 14:23:39 +08:00
parent 99fc6c1af4
commit 2a2489ce5c
4 changed files with 266 additions and 1 deletions
@@ -24,7 +24,7 @@ func NewKolManageHandler(a *bootstrap.App) *KolManageHandler {
return &KolManageHandler{
profileSvc: profileSvc,
pkgSvc: app.NewKolPackageService(profileSvc, a.KolPackages, a.KolPrompts),
promptSvc: app.NewKolPromptService(a.DB, profileSvc, a.KolPackages, a.KolPrompts, a.KolPromptAsset),
promptSvc: app.NewKolPromptService(a.DB, profileSvc, a.KolPackages, a.KolPrompts, a.KolSubscriptions, a.KolPromptAsset),
assistSvc: app.NewKolAssistService(profileSvc, a.KolAssists, a.LLM, a.RabbitMQ),
}
}