From 9bb979dbfb2c4edc31018a83970567f8734c0b61 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期二, 30 七月 2024 11:42:45 +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