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: "设置权限组"}, 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},