feat: 新增创作作品管理模块及相关配置

This commit is contained in:
2026-05-08 11:35:15 +08:00
parent ed333dd15c
commit 74ede5bc0f
16 changed files with 1373 additions and 4 deletions

View File

@@ -0,0 +1,22 @@
package controller
import (
"ai-agent/workflow/model/dto"
"ai-agent/workflow/service"
"context"
"gitea.com/red-future/common/beans"
)
type creationInfo struct{}
var CreationInfo = new(creationInfo)
func (c *creationInfo) GraphInvoke(ctx context.Context, req *dto.CreationInput) (res *beans.ResponseEmpty, err error) {
err = service.CreationInfoService.Creation(ctx, req)
return
}
func (c *creationInfo) List(ctx context.Context, req *dto.ListCreationInfoReq) (res *dto.ListCreationInfoRes, err error) {
return service.CreationInfoService.List(ctx, req)
}