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 *StorageController) Put() {
// @Description find storage by key word
// @Param search path string true "the search you want to get"
// @Success 200 {storage} models.storage
// @router /:search [get]
// @router /search/:search [get]
func (o *StorageController) Search() {
search := o.Ctx.Input.Param(":search")
o.Data["json"] = oclib.Search(search, oclib.LibDataEnum(oclib.STORAGE_RESOURCE))