Browse Source
Merge pull request #819 from flipped-aurora/pgsqlDevelop
Pgsql develop
main
奇淼(piexlmax
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
3 additions and
1 deletions
-
server/source/system/api.go
-
server/source/system/dictionary_detail.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: "设置权限组"}, |
|
|
|
|
|
@ -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}, |
|
|
|