From 1ef4fe8d2bd448db5d6038d716b00600a914c045 Mon Sep 17 00:00:00 2001 From: yinbentan <yinbentan@live.com> Date: 星期五, 05 七月 2024 17:36:58 +0800 Subject: [PATCH] 创建人没有值,应当为当前登录的账号名称 --- request/attribute.go | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/request/attribute.go b/request/attribute.go index df8d05a..0b72fbc 100644 --- a/request/attribute.go +++ b/request/attribute.go @@ -2,10 +2,10 @@ import "wms/models" -type GetAttributeList struct { +type AttributeList struct { PageInfo - Keyword string `json:"keyword"` - EntityType models.EntityType `json:"entityType"` + Keyword string `json:"keyword" form:"keyword"` + EntityType models.EntityType `json:"entityType" form:"entityType"` } type AddAttribute struct { -- Gitblit v1.8.0