Oc Catalog Full Controllers

This commit is contained in:
mr
2024-07-30 10:07:34 +02:00
parent 8be1828ddc
commit 1bb89db5c8
12 changed files with 196 additions and 157 deletions

View File

@@ -31,7 +31,7 @@ func (o *WorkflowController) Put() {
// @Description find workflow by key word
// @Param search path string true "the search you want to get"
// @Success 200 {workflow} models.workflow
// @router /:search [get]
// @router /search/:search [get]
func (o *WorkflowController) Search() {
search := o.Ctx.Input.Param(":search")
o.Data["json"] = oclib.Search(search, oclib.LibDataEnum(oclib.WORKFLOW_RESOURCE))