From ceacb28082ae86ec305d913f633f8d389c4d9b34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=92=8B=E5=90=89=E5=85=86?= <303176530@qq.com> Date: Thu, 25 Nov 2021 16:19:31 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=8E=B7=E5=8F=96?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E5=88=97=E8=A1=A8=E7=9A=84=E5=88=9D=E5=A7=8B?= =?UTF-8?q?=E5=8C=96=E6=95=B0=E6=8D=AEbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/source/system/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/source/system/api.go b/server/source/system/api.go index e1d6b5f9..c3a52ea0 100644 --- a/server/source/system/api.go +++ b/server/source/system/api.go @@ -22,7 +22,7 @@ func (a *api) Initialize() error { {ApiGroup: "系统用户", Method: "DELETE", Path: "/user/deleteUser", Description: "删除用户"}, {ApiGroup: "系统用户", Method: "POST", Path: "/user/register", Description: "用户注册(必选)"}, - {ApiGroup: "系统用户", Method: "user", Path: "/user/getUserList", Description: "获取用户列表"}, + {ApiGroup: "系统用户", Method: "POST", Path: "/user/getUserList", Description: "获取用户列表"}, {ApiGroup: "系统用户", Method: "PUT", Path: "/user/setUserInfo", Description: "设置用户信息(必选)"}, {ApiGroup: "系统用户", Method: "GET", Path: "/user/getUserInfo", Description: "获取自身信息(必选)"}, {ApiGroup: "系统用户", Method: "POST", Path: "/user/setUserAuthorities", Description: "设置权限组"}, From 657c5e42e5111ffa04dc65f38141b694f88bf0d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=92=8B=E5=90=89=E5=85=86?= <303176530@qq.com> Date: Thu, 25 Nov 2021 16:23:04 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=AD=97=E5=85=B8=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/source/system/dictionary_detail.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/source/system/dictionary_detail.go b/server/source/system/dictionary_detail.go index fdb83ed3..f0563d80 100644 --- a/server/source/system/dictionary_detail.go +++ b/server/source/system/dictionary_detail.go @@ -19,6 +19,8 @@ func (d *dictionaryDetail) Initialize() error { status := new(bool) *status = true entities := []system.SysDictionaryDetail{ + {Label: "男", Value: 1, Status: status, Sort: 1, SysDictionaryID: 1}, + {Label: "女", Value: 2, Status: status, Sort: 2, SysDictionaryID: 1}, {Label: "smallint", Value: 1, Status: status, Sort: 1, SysDictionaryID: 2}, {Label: "mediumint", Value: 2, Status: status, Sort: 2, SysDictionaryID: 2}, {Label: "int", Value: 3, Status: status, Sort: 3, SysDictionaryID: 2},