Oc Catalog Full Controllers
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user