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

@@ -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))