-
Notifications
You must be signed in to change notification settings - Fork 99
/
auth.sql
288 lines (272 loc) · 22.7 KB
/
auth.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
/*
Navicat MySQL Data Transfer
Source Server : benmu
Source Server Version : 50617
Source Host : 117.121.26.70:3325
Source Database : auth
Target Server Type : MYSQL
Target Server Version : 50617
File Encoding : 65001
Date: 2015-03-16 15:06:01
*/
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for `ss_app`
-- ----------------------------
DROP TABLE IF EXISTS `ss_app`;
CREATE TABLE `ss_app` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`name` varchar(100) DEFAULT NULL,
`app_key` varchar(100) DEFAULT NULL,
`app_secret` varchar(100) DEFAULT NULL,
`available` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
UNIQUE KEY `idx_sys_app_app_key` (`app_key`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4;
-- ----------------------------
-- Records of ss_app
-- ----------------------------
INSERT INTO `ss_app` VALUES ('1', '授权管理系统', '645ba616-370a-43a8-a8e0-993e7a590cf0', 'bb74abb6-bae0-47dd-a7b1-9571ea3a0f33', '1');
INSERT INTO `ss_app` VALUES ('2', '百货后台管理系统', '645ba612-370a-43a8-a8e0-993e7a590cf0', 'bb74abb2-bae0-47dd-a7b1-9571ea3a0f33', '1');
INSERT INTO `ss_app` VALUES ('3', '医疗后台管理系统', '645ba613-370a-43a8-a8e0-993e7a590cf0', 'bb74abb3-bae0-47dd-a7b1-9571ea3a0f33', '1');
INSERT INTO `ss_app` VALUES ('5', '微信管理系统', '1d8111d7-b7ba-4889-84f5-bb4c6e2c508d', 'd5cc9ba7-6e3b-4972-b173-618913fed553', '0');
-- ----------------------------
-- Table structure for `ss_organization`
-- ----------------------------
DROP TABLE IF EXISTS `ss_organization`;
CREATE TABLE `ss_organization` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '机构ID',
`org_name` varchar(255) DEFAULT NULL COMMENT '机构名称',
`org_code` varchar(32) DEFAULT NULL COMMENT '机构编码',
`org_desc` text COMMENT '机构简介',
`org_website` varchar(255) DEFAULT NULL COMMENT '机构网址',
`org_pic` varchar(255) DEFAULT NULL COMMENT '机构图片',
`org_address` varchar(255) DEFAULT NULL COMMENT '机构地址',
`region_id` smallint(5) DEFAULT NULL COMMENT '地区编号',
`org_lng` decimal(11,6) DEFAULT NULL COMMENT '经度',
`org_lat` decimal(11,6) DEFAULT NULL COMMENT '纬度',
`region` varchar(50) DEFAULT NULL COMMENT '区',
`city` varchar(5) DEFAULT NULL COMMENT '市',
`province` varchar(5) DEFAULT NULL COMMENT '省',
`keywords` varchar(255) DEFAULT NULL COMMENT '关键字',
`message` varchar(512) DEFAULT NULL COMMENT '重点提示',
`busline` varchar(512) DEFAULT NULL COMMENT '乘车路线',
`org_rule` varchar(512) DEFAULT NULL COMMENT '机构规则-预约规则等',
`org_contact` varchar(20) DEFAULT NULL COMMENT '机构联系人',
`org_tel` varchar(20) DEFAULT NULL COMMENT '机构电话',
`vip_phone` varchar(20) DEFAULT NULL COMMENT 'VIP电话',
`org_email` varchar(50) DEFAULT NULL COMMENT '机构EMAIL',
`back_address` varchar(255) DEFAULT NULL COMMENT '退货地址',
`back_contact` varchar(20) DEFAULT NULL COMMENT '退货联系人',
`back_tel` varchar(20) DEFAULT NULL COMMENT '退货电话',
`open_time` varchar(255) DEFAULT NULL COMMENT '开门时间',
`org_grade` varchar(32) DEFAULT NULL COMMENT '机构类型对应字典hosgrade',
`org_rank` smallint(6) DEFAULT NULL COMMENT '机构性质对应字典hosrank',
`org_proinfo` smallint(6) DEFAULT NULL COMMENT '机构登记对应hosproinfo',
`is_mi` smallint(6) DEFAULT NULL COMMENT '是否医保 医院特有 0否 1是',
`is_delete` smallint(6) DEFAULT NULL COMMENT '是否删除:0-否 1-是',
`org_lnk` varchar(20) DEFAULT NULL COMMENT '线下CRM地址',
`createtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '新建时间',
`updatetime` timestamp COMMENT '更新时间',
`parent_id` bigint(20) DEFAULT NULL COMMENT '父ID',
`parent_ids` varchar(100) DEFAULT NULL,
`mall_id` varchar(32) DEFAULT NULL COMMENT '集团ID',
`store_id` varchar(32) DEFAULT NULL COMMENT '微信商户号',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=97 DEFAULT CHARSET=utf8mb4 COMMENT='门店表';
-- ----------------------------
-- Records of ss_organization
-- ----------------------------
INSERT INTO `ss_organization` VALUES ('1', '平台', 'SN001', '', null, '', '北京市, 北京市, 东城区, 府学胡同', null, '116.422235', '39.941272', '东城区', '台北市', '台湾省', null, null, null, null, null, '987123456', null, null, null, null, null, '0;0', null, null, null, null, null, null, '2015-02-07 17:15:49', '2015-02-07 14:10:08', '0', '0/', null, '12121212');
INSERT INTO `ss_organization` VALUES ('2', '百货', 'SN002', '在朝阳门', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, '2015-02-07 17:15:58', '2015-01-20 18:01:44', '1', '0/1/', null, null);
INSERT INTO `ss_organization` VALUES ('44', '医疗', 'SN003', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, '2015-02-07 17:16:08', '2015-01-29 11:46:54', '1', '0/1/', null, null);
INSERT INTO `ss_organization` VALUES ('78', '合肥百货', 'SN009', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, '2015-02-07 17:16:25', '2015-01-30 10:53:39', '2', '0/1/2/', null, null);
INSERT INTO `ss_organization` VALUES ('88', '王府井', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, '2015-02-07 17:16:38', '2015-02-07 17:16:38', '2', '0/1/2/', null, null);
INSERT INTO `ss_organization` VALUES ('89', '京医通', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, '2015-02-07 17:16:50', '2015-02-07 17:16:50', '44', '0/1/44/', null, null);
INSERT INTO `ss_organization` VALUES ('90', '拜尔口腔', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, '2015-02-07 17:17:11', '2015-02-07 17:17:11', '44', '0/1/44/', null, null);
INSERT INTO `ss_organization` VALUES ('91', '美联众和', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, '2015-02-07 17:17:41', '2015-02-07 17:17:41', '44', '0/1/44/', null, null);
INSERT INTO `ss_organization` VALUES ('92', '上海', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, '2015-02-07 17:19:05', '2015-02-07 17:19:05', '90', '0/1/44/90/', null, null);
INSERT INTO `ss_organization` VALUES ('93', '徐家汇店', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, '2015-02-09 11:03:30', '2015-02-07 17:19:22', '92', '0/1/44/90/92/', null, null);
INSERT INTO `ss_organization` VALUES ('94', '北京', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, '2015-02-09 11:15:04', '2015-02-09 11:15:04', '90', '0/1/44/90/', null, null);
INSERT INTO `ss_organization` VALUES ('95', '新世界店', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, '2015-02-09 11:15:27', '2015-02-09 11:15:27', '94', '0/1/44/90/94/', null, null);
INSERT INTO `ss_organization` VALUES ('96', '百货', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, '2015-02-28 11:43:43', '2015-02-28 11:43:43', '1', '0/1/', null, null);
-- ----------------------------
-- Table structure for `ss_resource`
-- ----------------------------
DROP TABLE IF EXISTS `ss_resource`;
CREATE TABLE `ss_resource` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`name` varchar(100) DEFAULT NULL,
`type` varchar(50) DEFAULT NULL,
`url` varchar(200) DEFAULT NULL,
`parent_id` bigint(20) DEFAULT NULL,
`parent_ids` varchar(100) DEFAULT NULL,
`permission` varchar(100) DEFAULT NULL,
`available` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_sys_resource_parent_id` (`parent_id`),
KEY `idx_sys_resource_parent_ids` (`parent_ids`)
) ENGINE=InnoDB AUTO_INCREMENT=169 DEFAULT CHARSET=utf8mb4;
-- ----------------------------
-- Records of ss_resource
-- ----------------------------
INSERT INTO `ss_resource` VALUES ('1', '资源', 'menu', '', '0', '0/', '', '1');
INSERT INTO `ss_resource` VALUES ('82', '系统管理', 'menu', 'menus', '1', '0/1/', 'sys:*', '0');
INSERT INTO `ss_resource` VALUES ('83', '组织机构', 'menu', 'organization', '82', '0/1/82/', 'organization:*', '0');
INSERT INTO `ss_resource` VALUES ('84', '新增', 'button', '', '83', '0/1/82/83/', 'organization:create', '0');
INSERT INTO `ss_resource` VALUES ('85', '修改', 'button', '', '83', '0/1/82/83/', 'organization:update', '0');
INSERT INTO `ss_resource` VALUES ('86', '删除', 'button', '', '83', '0/1/82/83/', 'organization:delete', '0');
INSERT INTO `ss_resource` VALUES ('87', '查看', 'button', '', '83', '0/1/82/83/', 'organization:view', '0');
INSERT INTO `ss_resource` VALUES ('88', '应用管理', 'menu', 'app', '82', '0/1/82/', 'app:*', '0');
INSERT INTO `ss_resource` VALUES ('89', '新增', 'button', '', '88', '0/1/82/88/', 'app:create', '0');
INSERT INTO `ss_resource` VALUES ('90', '修改', 'button', '', '88', '0/1/82/88/', 'app:update', '0');
INSERT INTO `ss_resource` VALUES ('91', '删除', 'button', '', '88', '0/1/82/88/', 'app:delete', '0');
INSERT INTO `ss_resource` VALUES ('92', '查看', 'button', '', '88', '0/1/82/88/', 'app:view', '0');
INSERT INTO `ss_resource` VALUES ('93', '用户管理', 'menu', 'user', '82', '0/1/82/', 'user:*', '0');
INSERT INTO `ss_resource` VALUES ('94', '新增', 'button', '', '93', '0/1/82/93/', 'user:create', '0');
INSERT INTO `ss_resource` VALUES ('95', '修改', 'button', '', '93', '0/1/82/93/', 'user:update', '0');
INSERT INTO `ss_resource` VALUES ('96', '删除', 'button', '', '93', '0/1/82/93/', 'user:delete', '0');
INSERT INTO `ss_resource` VALUES ('97', '查看', 'button', '', '93', '0/1/82/93/', 'user:view', '0');
INSERT INTO `ss_resource` VALUES ('98', '菜单管理', 'menu', 'resource', '82', '0/1/82/', 'resource:*', '0');
INSERT INTO `ss_resource` VALUES ('99', '新增', 'button', '', '98', '0/1/82/98/', 'resource:create', '0');
INSERT INTO `ss_resource` VALUES ('100', '修改', 'button', '', '98', '0/1/82/98/', 'resource:update', '0');
INSERT INTO `ss_resource` VALUES ('101', '删除', 'button', '', '98', '0/1/82/98/', 'resource:delete', '0');
INSERT INTO `ss_resource` VALUES ('102', '查看', 'button', '', '98', '0/1/82/98/', 'resource:view', '0');
INSERT INTO `ss_resource` VALUES ('103', '角色管理', 'menu', 'role', '82', '0/1/82/', 'role:*', '0');
INSERT INTO `ss_resource` VALUES ('104', '新增', 'button', '', '103', '0/1/82/103/', 'role:create', '0');
INSERT INTO `ss_resource` VALUES ('105', '修改', 'button', '', '103', '0/1/82/103/', 'role:update', '0');
INSERT INTO `ss_resource` VALUES ('106', '删除', 'button', '', '103', '0/1/82/103/', 'role:delete', '0');
INSERT INTO `ss_resource` VALUES ('107', '查看', 'button', '', '103', '0/1/82/103/', 'role:view', '0');
INSERT INTO `ss_resource` VALUES ('108', '授权管理', 'menu', 'authorization', '82', '0/1/82/', 'authorization:*', '0');
INSERT INTO `ss_resource` VALUES ('109', '新增', 'button', '', '108', '0/1/82/108/', 'authorization:create', '0');
INSERT INTO `ss_resource` VALUES ('110', '修改', 'button', '', '108', '0/1/82/108/', 'authorization:update', '0');
INSERT INTO `ss_resource` VALUES ('111', '删除', 'button', '', '108', '0/1/82/108/', 'authorization:delete', '0');
INSERT INTO `ss_resource` VALUES ('112', '查看', 'button', '', '108', '0/1/82/108/', 'authorization:view', '0');
INSERT INTO `ss_resource` VALUES ('115', '百货后台管理', 'menu', '', '1', '0/1/', 'shopping:*', '0');
INSERT INTO `ss_resource` VALUES ('116', '医疗后台管理', 'menu', '', '1', '0/1/', 'hospital:*', '0');
INSERT INTO `ss_resource` VALUES ('117', '微信管理', 'menu', 'menus', '1', '0/1/', 'weixin:*', '0');
INSERT INTO `ss_resource` VALUES ('118', '基础信息', 'menu', 'wxcode/list', '117', '0/1/117/', 'weixin:mpinfo:*', '0');
INSERT INTO `ss_resource` VALUES ('119', '新增', 'button', '', '118', '0/1/117/118/', 'weixin:mpinfo:create', '0');
INSERT INTO `ss_resource` VALUES ('120', '修改', 'button', '', '118', '0/1/117/118/', 'weixin:mpinfo:update', '0');
INSERT INTO `ss_resource` VALUES ('121', '修改', 'button', '', '118', '0/1/117/118/', 'weixin:mpinfo:delete', '0');
INSERT INTO `ss_resource` VALUES ('122', '查看', 'button', '', '118', '0/1/117/118/', 'weixin:mpinfo:view', '0');
INSERT INTO `ss_resource` VALUES ('124', '首页', 'menu', '', '116', '0/1/116/', 'hospital:index:*', '0');
INSERT INTO `ss_resource` VALUES ('125', '会员中心', 'menu', '', '116', '0/1/116/', 'hospital:member:*', '0');
INSERT INTO `ss_resource` VALUES ('126', '商品管理', 'menu', '', '116', '0/1/116/', 'hospital:item:*', '0');
INSERT INTO `ss_resource` VALUES ('127', '订单中心', 'menu', '', '116', '0/1/116/', 'hospital:order:*', '0');
INSERT INTO `ss_resource` VALUES ('128', '卡券管理', 'menu', '', '116', '0/1/116/', 'hospital:card:*', '0');
INSERT INTO `ss_resource` VALUES ('129', '消息管理', 'menu', '', '117', '0/1/117/', 'weixin:message:*', '0');
INSERT INTO `ss_resource` VALUES ('130', '素材中心', 'menu', '', '117', '0/1/117/', 'weixin:material:*', '0');
INSERT INTO `ss_resource` VALUES ('131', '门店管理', 'menu', '', '116', '0/1/116/', 'hospital:store:*', '0');
INSERT INTO `ss_resource` VALUES ('132', '门店管理', 'menu', '', '131', '0/1/116/123/131/', '', '0');
INSERT INTO `ss_resource` VALUES ('133', '添加门店', 'menu', '', '131', '0/1/116/123/131/', '', '0');
INSERT INTO `ss_resource` VALUES ('135', '医师管理', 'menu', '', '116', '0/1/116/', 'hospital:doctor:*', '0');
INSERT INTO `ss_resource` VALUES ('136', '医师管理', 'menu', '', '135', '0/1/116/123/135/', 'hospital:doctor:view', '0');
INSERT INTO `ss_resource` VALUES ('146', '门店管理', 'menu', '', '115', '0/1/115/', 'shoping:mall:*', '0');
INSERT INTO `ss_resource` VALUES ('148', '门店信息管理', 'menu', '', '116', '0/1/116/', 'hospital:storeinfo:*', '0');
INSERT INTO `ss_resource` VALUES ('149', '门店信息管理', 'menu', '', '148', '0/1/116/123/148/', 'hospital:storeinfo:view', '0');
INSERT INTO `ss_resource` VALUES ('150', '首页', 'menu', '', '115', '0/1/115/', 'shopping:index:*', '0');
INSERT INTO `ss_resource` VALUES ('151', '商品管理', 'menu', '', '115', '0/1/115/', 'shopping:goods:*', '0');
INSERT INTO `ss_resource` VALUES ('152', '会员管理', 'menu', '', '115', '0/1/115/', 'shopping:member:*', '0');
INSERT INTO `ss_resource` VALUES ('153', '营销管理', 'menu', '', '115', '0/1/115/', 'shopping:marketing:*', '0');
INSERT INTO `ss_resource` VALUES ('156', '数据分析', 'menu', '', '115', '0/1/115/', 'shopping:statistics:*', '0');
INSERT INTO `ss_resource` VALUES ('157', '文章管理', 'menu', '', '115', '0/1/115/', 'shopping:article:*', '0');
INSERT INTO `ss_resource` VALUES ('158', '订单管理', 'menu', '', '115', '0/1/115/', 'shopping:order:*', '0');
INSERT INTO `ss_resource` VALUES ('159', '商品列表', 'menu', '', '151', '0/1/115/151/', 'shopping:goods:view:*', '0');
INSERT INTO `ss_resource` VALUES ('160', '商品分类', 'menu', '', '151', '0/1/115/151/', 'shopping:goods:cat:view:*', '0');
INSERT INTO `ss_resource` VALUES ('162', '订单列表', 'menu', '', '158', '0/1/115/158/', 'shopping:order:view:*', '0');
INSERT INTO `ss_resource` VALUES ('163', '退换货列表', 'menu', '', '158', '0/1/115/158/', 'shopping:order:return:view:*', '0');
INSERT INTO `ss_resource` VALUES ('164', '快递类型', 'menu', '', '158', '0/1/115/158/', 'shopping:order:express:view:*', '0');
INSERT INTO `ss_resource` VALUES ('166', '编辑门店', 'menu', '', '146', '0/1/115/146/', 'shopping:mall:update:*', '0');
INSERT INTO `ss_resource` VALUES ('167', '楼层列表', 'menu', '', '146', '0/1/115/146/', 'shopping:mall:floor:view:*', '0');
INSERT INTO `ss_resource` VALUES ('168', '支付配置', 'menu', '', '146', '0/1/115/146/', 'shopping:mall:pay:view:*', '0');
-- ----------------------------
-- Table structure for `ss_role`
-- ----------------------------
DROP TABLE IF EXISTS `ss_role`;
CREATE TABLE `ss_role` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`role` varchar(100) DEFAULT NULL,
`description` varchar(100) DEFAULT NULL,
`resource_ids` varchar(100) DEFAULT NULL,
`available` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_sys_role_resource_ids` (`resource_ids`)
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8mb4;
-- ----------------------------
-- Records of ss_role
-- ----------------------------
INSERT INTO `ss_role` VALUES ('1', 'superAdmin', '超级管理员', '82,83,88,93,98,103,108,117', '1');
INSERT INTO `ss_role` VALUES ('6', 'shoppingOrgAdmin', '百货集团管理员', '150,151,160', '0');
INSERT INTO `ss_role` VALUES ('7', 'shoppingMallAdmin', '百货门店管理员', '129,130,146,150,151,158,159,162,163,164,166,167,168', '0');
INSERT INTO `ss_role` VALUES ('8', 'hospitalOrgAdmin', '医疗集团管理员', '124,125,126,127,128,129,130,131,135', '0');
INSERT INTO `ss_role` VALUES ('9', 'hospitalMallAdmin', '医疗门店管理员', '127,135,136,148,149', '0');
-- ----------------------------
-- Table structure for `ss_user`
-- ----------------------------
DROP TABLE IF EXISTS `ss_user`;
CREATE TABLE `ss_user` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`organization_id` bigint(20) DEFAULT NULL,
`username` varchar(100) DEFAULT NULL,
`password` varchar(100) DEFAULT NULL,
`salt` varchar(100) DEFAULT NULL,
`locked` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
UNIQUE KEY `idx_sys_user_username` (`username`),
KEY `idx_sys_user_organization_id` (`organization_id`)
) ENGINE=InnoDB AUTO_INCREMENT=65 DEFAULT CHARSET=utf8mb4;
-- ----------------------------
-- Records of ss_user
-- ----------------------------
INSERT INTO `ss_user` VALUES ('1', '1', 'admin', '20e3e4976998a8abafa3dd401c9e8a81', '3b83c03c477f11f21614388c7810045b', '0');
INSERT INTO `ss_user` VALUES ('2', '93', 'test12', '6acb792df7758f9a189ebf0057b3bba3', 'de7102be0b2932d1ebf13ae1e528e475', '0');
INSERT INTO `ss_user` VALUES ('3', '1', 't2', '143847dbbdcb6cb2227f0d6fff5571bf', 'ba80e225a6a0eb90912ade0f83c0fa30', '0');
INSERT INTO `ss_user` VALUES ('4', '1', 'aaa', '28da10ea3f674a7216862b898026be04', '59369bec1d0aee5d0dd0e723f99a618d', '0');
INSERT INTO `ss_user` VALUES ('5', '1', 'bbb', '143847dbbdcb6cb2227f0d6fff5571bf', 'ba80e225a6a0eb90912ade0f83c0fa30', '0');
INSERT INTO `ss_user` VALUES ('6', '1', 'ccc', '143847dbbdcb6cb2227f0d6fff5571bf', 'ba80e225a6a0eb90912ade0f83c0fa30', '0');
INSERT INTO `ss_user` VALUES ('7', '1', 'ddd', '143847dbbdcb6cb2227f0d6fff5571bf', 'ba80e225a6a0eb90912ade0f83c0fa30', '0');
INSERT INTO `ss_user` VALUES ('8', '1', 'eee', '143847dbbdcb6cb2227f0d6fff5571bf', 'ba80e225a6a0eb90912ade0f83c0fa30', '0');
INSERT INTO `ss_user` VALUES ('9', '1', 'fff', '143847dbbdcb6cb2227f0d6fff5571bf', 'ba80e225a6a0eb90912ade0f83c0fa30', '0');
INSERT INTO `ss_user` VALUES ('10', '1', 'ggg', '143847dbbdcb6cb2227f0d6fff5571bf', 'ba80e225a6a0eb90912ade0f83c0fa30', '0');
INSERT INTO `ss_user` VALUES ('11', '1', 'hhh', '143847dbbdcb6cb2227f0d6fff5571bf', 'ba80e225a6a0eb90912ade0f83c0fa30', '0');
INSERT INTO `ss_user` VALUES ('12', '1', 'jjj', '143847dbbdcb6cb2227f0d6fff5571bf', 'ba80e225a6a0eb90912ade0f83c0fa30', '0');
INSERT INTO `ss_user` VALUES ('13', '1', 'kkk', '143847dbbdcb6cb2227f0d6fff5571bf', 'ba80e225a6a0eb90912ade0f83c0fa30', '0');
INSERT INTO `ss_user` VALUES ('14', '1', 'lll', '143847dbbdcb6cb2227f0d6fff5571bf', 'ba80e225a6a0eb90912ade0f83c0fa30', '0');
INSERT INTO `ss_user` VALUES ('15', '1', 'mmm', '143847dbbdcb6cb2227f0d6fff5571bf', 'ba80e225a6a0eb90912ade0f83c0fa30', '0');
INSERT INTO `ss_user` VALUES ('16', '1', 'nnn', '143847dbbdcb6cb2227f0d6fff5571bf', 'ba80e225a6a0eb90912ade0f83c0fa30', '0');
INSERT INTO `ss_user` VALUES ('17', '1', '000', '143847dbbdcb6cb2227f0d6fff5571bf', 'ba80e225a6a0eb90912ade0f83c0fa30', '0');
INSERT INTO `ss_user` VALUES ('18', '1', 'ppp', '143847dbbdcb6cb2227f0d6fff5571bf', 'ba80e225a6a0eb90912ade0f83c0fa30', '0');
INSERT INTO `ss_user` VALUES ('57', '93', 'fgfg', 'f0a1e2850728fde20f8e4c7781a79ea1', 'a9f8799d92a3cb7e8d517c09e3e04087,tete,tata,tata', '0');
INSERT INTO `ss_user` VALUES ('58', '93', 'vnvbn', '2064063737a4b25bd435fa30397903f9', '3e2c1cfde07a0d68df104c46d62c7006', '0');
INSERT INTO `ss_user` VALUES ('59', '90', 'ewqweqwe', '123123', '', '0');
INSERT INTO `ss_user` VALUES ('60', '93', '123123', '314324324', '', '0');
INSERT INTO `ss_user` VALUES ('61', '93', 'cym', 'e23f8c734fc4b389d933e4e696c1a2a8', '27726b911ae3b20a9356b2fd6a150f15', '0');
INSERT INTO `ss_user` VALUES ('62', '93', 'cy', '928bea627c9ae4c123085b6847931f5f', '646c33bd5106ad1109b93acec712c0dc', '0');
INSERT INTO `ss_user` VALUES ('63', '90', '123', '2a33c75b20339bea00f5530cf1497ef6', '3294218b28778612e7ce75c20f67bb37', '0');
INSERT INTO `ss_user` VALUES ('64', '93', '1212', 'c33af3f3c07bcfdba6735745ea090511', '06d38b31c54d19d0880e03da8d6a96cc', '0');
-- ----------------------------
-- Table structure for `ss_user_app_roles`
-- ----------------------------
DROP TABLE IF EXISTS `ss_user_app_roles`;
CREATE TABLE `ss_user_app_roles` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`user_id` bigint(20) DEFAULT NULL,
`app_id` bigint(20) DEFAULT NULL,
`role_ids` varchar(100) DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `sys_user_app_roles_user_id_app_id` (`user_id`,`app_id`)
) ENGINE=InnoDB AUTO_INCREMENT=21 DEFAULT CHARSET=utf8mb4;
-- ----------------------------
-- Records of ss_user_app_roles
-- ----------------------------
INSERT INTO `ss_user_app_roles` VALUES ('1', '1', '1', '1');
INSERT INTO `ss_user_app_roles` VALUES ('8', '328', '3', '8');
INSERT INTO `ss_user_app_roles` VALUES ('10', '299', '2', '6');
INSERT INTO `ss_user_app_roles` VALUES ('11', '300', '2', '7');
INSERT INTO `ss_user_app_roles` VALUES ('12', '303', '2', '6');
INSERT INTO `ss_user_app_roles` VALUES ('15', '302', '2', '7');
INSERT INTO `ss_user_app_roles` VALUES ('16', '304', '2', '7');
INSERT INTO `ss_user_app_roles` VALUES ('17', '301', '2', '6');
INSERT INTO `ss_user_app_roles` VALUES ('19', '334', '3', '9');
INSERT INTO `ss_user_app_roles` VALUES ('20', '328', '5', '8');