refactor: 添加用户,修改权限

V0.5.x
jay 2023-06-16 18:51:17 +08:00
parent d85c06e5fc
commit a632d39658
4 changed files with 234 additions and 236 deletions

View File

@ -4,9 +4,9 @@
"tenantId": "000000",
"parentId": 0,
"ancestors": "0",
"deptName": "XXX科技",
"deptName": "铱塔智联",
"orderNum": 0,
"leader": "疯狂的狮子Li",
"leader": "openiita",
"phone": "15888888888",
"email": "xxx@qq.com",
"status": "0",
@ -24,7 +24,7 @@
"ancestors": "0,100",
"deptName": "深圳总公司",
"orderNum": 1,
"leader": "疯狂的狮子Li",
"leader": "openiita",
"phone": "15888888888",
"email": "xxx@qq.com",
"status": "0",
@ -42,7 +42,7 @@
"ancestors": "0,100",
"deptName": "长沙分公司",
"orderNum": 2,
"leader": "疯狂的狮子Li",
"leader": "openiita",
"phone": "15888888888",
"email": "xxx@qq.com",
"status": "0",
@ -60,7 +60,7 @@
"ancestors": "0,100,101",
"deptName": "研发部门",
"orderNum": 1,
"leader": "疯狂的狮子Li",
"leader": "openiita",
"phone": "15888888888",
"email": "xxx@qq.com",
"status": "0",
@ -78,7 +78,7 @@
"ancestors": "0,100,101",
"deptName": "市场部门",
"orderNum": 2,
"leader": "疯狂的狮子Li",
"leader": "openiita",
"phone": "15888888888",
"email": "xxx@qq.com",
"status": "0",
@ -96,7 +96,7 @@
"ancestors": "0,100,101",
"deptName": "测试部门",
"orderNum": 3,
"leader": "疯狂的狮子Li",
"leader": "openiita",
"phone": "15888888888",
"email": "xxx@qq.com",
"status": "0",
@ -114,7 +114,7 @@
"ancestors": "0,100,101",
"deptName": "财务部门",
"orderNum": 4,
"leader": "疯狂的狮子Li",
"leader": "openiita",
"phone": "15888888888",
"email": "xxx@qq.com",
"status": "0",
@ -132,7 +132,7 @@
"ancestors": "0,100,101",
"deptName": "运维部门",
"orderNum": 5,
"leader": "疯狂的狮子Li",
"leader": "openiita",
"phone": "15888888888",
"email": "xxx@qq.com",
"status": "0",
@ -150,7 +150,7 @@
"ancestors": "0,100,102",
"deptName": "市场部门",
"orderNum": 1,
"leader": "疯狂的狮子Li",
"leader": "openiita",
"phone": "15888888888",
"email": "xxx@qq.com",
"status": "0",
@ -168,7 +168,7 @@
"ancestors": "0,100,102",
"deptName": "财务部门",
"orderNum": 2,
"leader": "疯狂的狮子Li",
"leader": "openiita",
"phone": "15888888888",
"email": "xxx@qq.com",
"status": "0",

View File

@ -2384,7 +2384,7 @@
"visible": "0"
},
{
"id": 1658357918741422082,
"id": 2200,
"createBy": 1,
"createDept": 103,
"updateBy": 1,
@ -2404,7 +2404,7 @@
"visible": "0"
},
{
"id": 1658358600219353090,
"id": 2201,
"createBy": 1,
"createDept": 103,
"updateBy": 1,
@ -2424,7 +2424,7 @@
"visible": "0"
},
{
"id": 1660167072208510978,
"id": 2202,
"createBy": 1,
"createDept": 103,
@ -2446,7 +2446,7 @@
"visible": "0"
},
{
"id": 1660167260910247937,
"id": 2203,
"createBy": 1,
"createDept": 103,
@ -2468,7 +2468,7 @@
"visible": "0"
},
{
"id": 1660167674317627394,
"id": 2204,
"createBy": 1,
"createDept": 103,
@ -2490,7 +2490,7 @@
"visible": "0"
},
{
"id": 1661206602134847489,
"id": 2205,
"createBy": 1,
"createDept": 103,
@ -2512,7 +2512,7 @@
"visible": "0"
},
{
"id": 1661649439922184194,
"id": 2206,
"createBy": 1,
"createDept": 103,
@ -2534,7 +2534,7 @@
"visible": "0"
},
{
"id": 1661649887995486210,
"id": 2207,
"createBy": 1,
"createDept": 103,
@ -2556,7 +2556,7 @@
"visible": "0"
},
{
"id": 1662732793483530242,
"id": 2208,
"createBy": 1,
"createDept": 103,
@ -2578,7 +2578,7 @@
"visible": "0"
},
{
"id": 1662733034291105794,
"id": 2209,
"createBy": 1,
"createDept": 103,
@ -2600,7 +2600,7 @@
"visible": "0"
},
{
"id": 1662733282119946241,
"id": 2210,
"createBy": 1,
"createDept": 103,
@ -2622,7 +2622,7 @@
"visible": "0"
},
{
"id": 1662793849241243650,
"id": 2211,
"createBy": 1,
"createDept": 103,
@ -2644,7 +2644,7 @@
"visible": "0"
},
{
"id": 1662794134726545410,
"id": 2212,
"createBy": 1,
"createDept": 103,
@ -2666,7 +2666,7 @@
"visible": "0"
},
{
"id": 1662794509588271105,
"id": 2213,
"createBy": 1,
"createDept": 103,
@ -2688,7 +2688,7 @@
"visible": "0"
},
{
"id": 1664255461136371713,
"id": 2214,
"createBy": 1,
"createDept": 103,
@ -2710,7 +2710,7 @@
"visible": "1"
},
{
"id": 1664262107510181890,
"id": 2215,
"createBy": 1,
"createDept": 103,
@ -2732,7 +2732,7 @@
"visible": "1"
},
{
"id": 1664635724467126274,
"id": 2216,
"createBy": 1,
"createDept": 103,
"updateBy": 1,
@ -2752,7 +2752,7 @@
"visible": "0"
},
{
"id": 1664635974669942785,
"id": 2217,
"createBy": 1,
"createDept": 103,
@ -2774,7 +2774,7 @@
"visible": "0"
},
{
"id": 1664638344103575553,
"id": 2218,
"createBy": 1,
"createDept": 103,
@ -2796,7 +2796,7 @@
"visible": "0"
},
{
"id": 1664638512219668482,
"id": 2219,
"createBy": 1,
"createDept": 103,
@ -2818,7 +2818,7 @@
"visible": "0"
},
{
"id": 1664638622588583938,
"id": 2220,
"createBy": 1,
"createDept": 103,
@ -2840,7 +2840,7 @@
"visible": "0"
},
{
"id": 1664827474452238338,
"id": 2221,
"createBy": 1,
"createDept": 103,
@ -2862,7 +2862,7 @@
"visible": "0"
},
{
"id": 1664827751490211841,
"id": 2222,
"createBy": 1,
"createDept": 103,
@ -2884,7 +2884,7 @@
"visible": "0"
},
{
"id": 1664827962497257474,
"id": 2223,
"createBy": 1,
"createDept": 103,

View File

@ -1,318 +1,297 @@
[
{
"roleId": 2,
"menuId": 1
"id": 429162174689349,
"menu_id": 1,
"role_id": 2
},
{
"roleId": 2,
"menuId": 2
"id": 429162174689350,
"menu_id": 100,
"role_id": 2
},
{
"roleId": 2,
"menuId": 3
"id": 429162174689351,
"menu_id": 1001,
"role_id": 2
},
{
"roleId": 2,
"menuId": 4
"id": 429162174689352,
"menu_id": 1002,
"role_id": 2
},
{
"roleId": 2,
"menuId": 100
"id": 429162174689353,
"menu_id": 101,
"role_id": 2
},
{
"roleId": 2,
"menuId": 101
"id": 429162174689354,
"menu_id": 1008,
"role_id": 2
},
{
"roleId": 2,
"menuId": 102
"id": 429162174689355,
"menu_id": 1009,
"role_id": 2
},
{
"roleId": 2,
"menuId": 103
"id": 429162174689356,
"menu_id": 1010,
"role_id": 2
},
{
"roleId": 2,
"menuId": 104
"id": 429162174689357,
"menu_id": 102,
"role_id": 2
},
{
"roleId": 2,
"menuId": 105
"id": 429162174689358,
"menu_id": 1013,
"role_id": 2
},
{
"roleId": 2,
"menuId": 106
"id": 429162174689359,
"menu_id": 1014,
"role_id": 2
},
{
"roleId": 2,
"menuId": 107
"id": 429162174689360,
"menu_id": 103,
"role_id": 2
},
{
"roleId": 2,
"menuId": 108
"id": 429162174689361,
"menu_id": 1017,
"role_id": 2
},
{
"roleId": 2,
"menuId": 109
"id": 429162174689362,
"menu_id": 1018,
"role_id": 2
},
{
"roleId": 2,
"menuId": 110
"id": 429162174689363,
"menu_id": 104,
"role_id": 2
},
{
"roleId": 2,
"menuId": 111
"id": 429162174689364,
"menu_id": 1021,
"role_id": 2
},
{
"roleId": 2,
"menuId": 112
"id": 429162174689365,
"menu_id": 1022,
"role_id": 2
},
{
"roleId": 2,
"menuId": 113
"id": 429162174689366,
"menu_id": 1023,
"role_id": 2
},
{
"roleId": 2,
"menuId": 114
"id": 429162174689367,
"menu_id": 105,
"role_id": 2
},
{
"roleId": 2,
"menuId": 115
"id": 429162174689368,
"menu_id": 1026,
"role_id": 2
},
{
"roleId": 2,
"menuId": 116
"id": 429162174689369,
"menu_id": 1027,
"role_id": 2
},
{
"roleId": 2,
"menuId": 500
"id": 429162174689370,
"menu_id": 1030,
"role_id": 2
},
{
"roleId": 2,
"menuId": 501
"id": 429162174689371,
"menu_id": 106,
"role_id": 2
},
{
"roleId": 2,
"menuId": 1000
"id": 429162174689372,
"menu_id": 1031,
"role_id": 2
},
{
"roleId": 2,
"menuId": 1001
"id": 429162174689373,
"menu_id": 1032,
"role_id": 2
},
{
"roleId": 2,
"menuId": 1002
"id": 429162174689374,
"menu_id": 1033,
"role_id": 2
},
{
"roleId": 2,
"menuId": 1003
"id": 429162174689375,
"menu_id": 107,
"role_id": 2
},
{
"roleId": 2,
"menuId": 1004
"id": 429162174689376,
"menu_id": 1036,
"role_id": 2
},
{
"roleId": 2,
"menuId": 1005
"id": 429162174689377,
"menu_id": 1037,
"role_id": 2
},
{
"roleId": 2,
"menuId": 1006
"id": 429162174689378,
"menu_id": 108,
"role_id": 2
},
{
"roleId": 2,
"menuId": 1007
"id": 429162174689379,
"menu_id": 500,
"role_id": 2
},
{
"roleId": 2,
"menuId": 1008
"id": 429162174689380,
"menu_id": 1040,
"role_id": 2
},
{
"roleId": 2,
"menuId": 1009
"id": 429162174689381,
"menu_id": 1041,
"role_id": 2
},
{
"roleId": 2,
"menuId": 1010
"id": 429162174689382,
"menu_id": 1042,
"role_id": 2
},
{
"roleId": 2,
"menuId": 1011
"id": 429162174693445,
"menu_id": 501,
"role_id": 2
},
{
"roleId": 2,
"menuId": 1012
"id": 429162174693446,
"menu_id": 1043,
"role_id": 2
},
{
"roleId": 2,
"menuId": 1013
"id": 429162174693447,
"menu_id": 1044,
"role_id": 2
},
{
"roleId": 2,
"menuId": 1014
"id": 429162174693448,
"menu_id": 1045,
"role_id": 2
},
{
"roleId": 2,
"menuId": 1015
"id": 429162174693449,
"menu_id": 1050,
"role_id": 2
},
{
"roleId": 2,
"menuId": 1016
"id": 429162174693450,
"menu_id": 2200,
"role_id": 2
},
{
"roleId": 2,
"menuId": 1017
"id": 429162174693451,
"menu_id": 2208,
"role_id": 2
},
{
"roleId": 2,
"menuId": 1018
"id": 429162174693452,
"menu_id": 2211,
"role_id": 2
},
{
"roleId": 2,
"menuId": 1019
"id": 429162174693453,
"menu_id": 2216,
"role_id": 2
},
{
"roleId": 2,
"menuId": 1020
"id": 429162174693454,
"menu_id": 2218,
"role_id": 2
},
{
"roleId": 2,
"menuId": 1021
"id": 429162174693455,
"menu_id": 2221,
"role_id": 2
},
{
"roleId": 2,
"menuId": 1022
"id": 429162174693456,
"menu_id": 109,
"role_id": 2
},
{
"roleId": 2,
"menuId": 1023
"id": 429162174693457,
"menu_id": 1046,
"role_id": 2
},
{
"roleId": 2,
"menuId": 1024
"id": 429162174693458,
"menu_id": 1047,
"role_id": 2
},
{
"roleId": 2,
"menuId": 1025
"id": 429162174693459,
"menu_id": 1048,
"role_id": 2
},
{
"roleId": 2,
"menuId": 1026
"id": 429162174693460,
"menu_id": 113,
"role_id": 2
},
{
"roleId": 2,
"menuId": 1027
"id": 429162174693461,
"menu_id": 3,
"role_id": 2
},
{
"roleId": 2,
"menuId": 1028
"id": 429162174693462,
"menu_id": 114,
"role_id": 2
},
{
"roleId": 2,
"menuId": 1029
"id": 429162174693463,
"menu_id": 115,
"role_id": 2
},
{
"roleId": 2,
"menuId": 1030
"id": 429162174693464,
"menu_id": 1055,
"role_id": 2
},
{
"roleId": 2,
"menuId": 1031
"id": 429162174693465,
"menu_id": 1056,
"role_id": 2
},
{
"roleId": 2,
"menuId": 1032
"id": 429162174693466,
"menu_id": 1058,
"role_id": 2
},
{
"roleId": 2,
"menuId": 1033
"id": 429162174693467,
"menu_id": 1057,
"role_id": 2
},
{
"roleId": 2,
"menuId": 1034
"id": 429162174693468,
"menu_id": 1059,
"role_id": 2
},
{
"roleId": 2,
"menuId": 1035
},
{
"roleId": 2,
"menuId": 1036
},
{
"roleId": 2,
"menuId": 1037
},
{
"roleId": 2,
"menuId": 1038
},
{
"roleId": 2,
"menuId": 1039
},
{
"roleId": 2,
"menuId": 1040
},
{
"roleId": 2,
"menuId": 1041
},
{
"roleId": 2,
"menuId": 1042
},
{
"roleId": 2,
"menuId": 1043
},
{
"roleId": 2,
"menuId": 1044
},
{
"roleId": 2,
"menuId": 1045
},
{
"roleId": 2,
"menuId": 1046
},
{
"roleId": 2,
"menuId": 1047
},
{
"roleId": 2,
"menuId": 1048
},
{
"roleId": 2,
"menuId": 1050
},
{
"roleId": 2,
"menuId": 1055
},
{
"roleId": 2,
"menuId": 1056
},
{
"roleId": 2,
"menuId": 1057
},
{
"roleId": 2,
"menuId": 1058
},
{
"roleId": 2,
"menuId": 1059
},
{
"roleId": 2,
"menuId": 1060
"id": 429162174693469,
"menu_id": 1060,
"role_id": 2
}
]

View File

@ -27,9 +27,9 @@
"tenantId": "000000",
"deptId": 105,
"userName": "lionli",
"nickName": "疯狂的狮子Li",
"nickName": "铱塔智联",
"userType": "sys_user",
"email": "crazyLionLi@qq.com",
"email": "jay.m@waterme.cn",
"phonenumber": "15666666666",
"sex": "1",
"avatar": null,
@ -44,5 +44,24 @@
"updateBy": null,
"updateTime": null,
"remark": "测试员"
}
},
{
"id": 3,
"create_by": null,
"create_dept": null,
"avatar": null,
"del_flag": "0",
"dept_id": 100,
"email": null,
"login_ip": "127.0.0.1",
"nick_name": "铱塔智联",
"password": "$2a$10$W4DZDmkL1GPxKSxoNQ5yGuwLKbzuYALmNZujnENB18yNszQwCnwuC",
"phonenumber": null,
"remark": "",
"sex": "0",
"status": "0",
"tenant_id": null,
"user_name": "openiita",
"user_type": "sys_user"
}
]