Oc Catalog Full Controllers
This commit is contained in:
@@ -52,7 +52,7 @@ func (o *ProcessingController) GetAll() {
|
||||
// @Description find processing by key word
|
||||
// @Param search path string true "the search you want to get"
|
||||
// @Success 200 {processing} models.processing
|
||||
// @router /:search [get]
|
||||
// @router /search/:search [get]
|
||||
func (o *ProcessingController) Search() {
|
||||
search := o.Ctx.Input.Param(":search")
|
||||
o.Data["json"] = oclib.Search(search, oclib.LibDataEnum(oclib.PROCESSING_RESOURCE))
|
||||
|
||||
Reference in New Issue
Block a user