From a31f930fff45db997d25b74182ef4ff37492e9ec Mon Sep 17 00:00:00 2001 From: yinbentan <yinbentan@live.com> Date: 星期一, 01 七月 2024 09:18:31 +0800 Subject: [PATCH] 字典查询去除字典类型判断 --- request/attribute.go | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/request/attribute.go b/request/attribute.go index d20032d..0b72fbc 100644 --- a/request/attribute.go +++ b/request/attribute.go @@ -1,8 +1,11 @@ package request -type GetAttributeList struct { +import "wms/models" + +type AttributeList struct { PageInfo - Keyword string `json:"keyword"` + Keyword string `json:"keyword" form:"keyword"` + EntityType models.EntityType `json:"entityType" form:"entityType"` } type AddAttribute struct { -- Gitblit v1.8.0