Documentation
¶
Index ¶
- type Controller
- func (yc *Controller) Apply(c *response.Context)
- func (yc *Controller) Delete(c *response.Context)
- func (t *Controller) DeleteTemplate(c *response.Context)
- func (t *Controller) List(c *response.Context)
- func (t *Controller) ListKind(c *response.Context)
- func (t *Controller) Save(c *response.Context)
- func (yc *Controller) UploadFile(c *response.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct{}
func (*Controller) Apply ¶
func (yc *Controller) Apply(c *response.Context)
func (*Controller) Delete ¶
func (yc *Controller) Delete(c *response.Context)
func (*Controller) DeleteTemplate ¶
func (t *Controller) DeleteTemplate(c *response.Context)
func (*Controller) List ¶
func (t *Controller) List(c *response.Context)
func (*Controller) ListKind ¶
func (t *Controller) ListKind(c *response.Context)
ListKind 获取模板分类列表,用于左侧导航栏渲染。 返回格式与 AI 提示词类型接口保持一致:{ data: { options: [{label,value}, ...] } }。
func (*Controller) Save ¶
func (t *Controller) Save(c *response.Context)
func (*Controller) UploadFile ¶
func (yc *Controller) UploadFile(c *response.Context)
Click to show internal directories.
Click to hide internal directories.