Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
FLIPPED-AURORA
gin-vue-admin
提交
2cf93133
G
gin-vue-admin
项目概览
FLIPPED-AURORA
/
gin-vue-admin
大约 1 年 前同步成功
通知
344
Star
18155
Fork
5506
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
gin-vue-admin
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
2cf93133
编写于
4月 10, 2020
作者:
Mr.奇淼(
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
提供restful示例 参考 customer 客户管理(资源示例)版块 涉及到权限变动 请更新数据库 sys_api和casbin表
上级
ed6e8884
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
26 addition
and
23 deletion
+26
-23
server/db/qmplus.sql
server/db/qmplus.sql
+26
-23
未找到文件。
server/db/qmplus.sql
浏览文件 @
2cf93133
...
...
@@ -11,7 +11,7 @@
Target Server Version : 50644
File Encoding : 65001
Date:
09/04/2020 11:11:20
Date:
10/04/2020 13:48:22
*/
SET
NAMES
utf8mb4
;
...
...
@@ -68,11 +68,11 @@ INSERT INTO `casbin_rule` VALUES ('p', '8881', '/casbin/getPolicyPathByAuthority
INSERT
INTO
`casbin_rule`
VALUES
(
'p'
,
'8881'
,
'/jwt/jsonInBlacklist'
,
'POST'
,
''
,
''
,
''
);
INSERT
INTO
`casbin_rule`
VALUES
(
'p'
,
'8881'
,
'/system/getSystemConfig'
,
'POST'
,
''
,
''
,
''
);
INSERT
INTO
`casbin_rule`
VALUES
(
'p'
,
'8881'
,
'/system/setSystemConfig'
,
'POST'
,
''
,
''
,
''
);
INSERT
INTO
`casbin_rule`
VALUES
(
'p'
,
'8881'
,
'/customer/c
reateExaC
ustomer'
,
'POST'
,
''
,
''
,
''
);
INSERT
INTO
`casbin_rule`
VALUES
(
'p'
,
'8881'
,
'/customer/
updateExaCustomer'
,
'POS
T'
,
''
,
''
,
''
);
INSERT
INTO
`casbin_rule`
VALUES
(
'p'
,
'8881'
,
'/customer/
deleteExaCustomer'
,
'POST
'
,
''
,
''
,
''
);
INSERT
INTO
`casbin_rule`
VALUES
(
'p'
,
'8881'
,
'/customer/
getExaCustomer'
,
'POS
T'
,
''
,
''
,
''
);
INSERT
INTO
`casbin_rule`
VALUES
(
'p'
,
'8881'
,
'/customer/
getExaCustomerList'
,
'POS
T'
,
''
,
''
,
''
);
INSERT
INTO
`casbin_rule`
VALUES
(
'p'
,
'8881'
,
'/customer/customer'
,
'POST'
,
''
,
''
,
''
);
INSERT
INTO
`casbin_rule`
VALUES
(
'p'
,
'8881'
,
'/customer/
customer'
,
'PU
T'
,
''
,
''
,
''
);
INSERT
INTO
`casbin_rule`
VALUES
(
'p'
,
'8881'
,
'/customer/
customer'
,
'DELETE
'
,
''
,
''
,
''
);
INSERT
INTO
`casbin_rule`
VALUES
(
'p'
,
'8881'
,
'/customer/
customer'
,
'GE
T'
,
''
,
''
,
''
);
INSERT
INTO
`casbin_rule`
VALUES
(
'p'
,
'8881'
,
'/customer/
customerList'
,
'GE
T'
,
''
,
''
,
''
);
INSERT
INTO
`casbin_rule`
VALUES
(
'p'
,
'9528'
,
'/base/login'
,
'POST'
,
''
,
''
,
''
);
INSERT
INTO
`casbin_rule`
VALUES
(
'p'
,
'9528'
,
'/base/register'
,
'POST'
,
''
,
''
,
''
);
INSERT
INTO
`casbin_rule`
VALUES
(
'p'
,
'9528'
,
'/api/createApi'
,
'POST'
,
''
,
''
,
''
);
...
...
@@ -107,11 +107,11 @@ INSERT INTO `casbin_rule` VALUES ('p', '9528', '/casbin/getPolicyPathByAuthority
INSERT
INTO
`casbin_rule`
VALUES
(
'p'
,
'9528'
,
'/jwt/jsonInBlacklist'
,
'POST'
,
''
,
''
,
''
);
INSERT
INTO
`casbin_rule`
VALUES
(
'p'
,
'9528'
,
'/system/getSystemConfig'
,
'POST'
,
''
,
''
,
''
);
INSERT
INTO
`casbin_rule`
VALUES
(
'p'
,
'9528'
,
'/system/setSystemConfig'
,
'POST'
,
''
,
''
,
''
);
INSERT
INTO
`casbin_rule`
VALUES
(
'p'
,
'9528'
,
'/customer/c
reateExaC
ustomer'
,
'POST'
,
''
,
''
,
''
);
INSERT
INTO
`casbin_rule`
VALUES
(
'p'
,
'9528'
,
'/customer/
updateExaCustomer'
,
'POS
T'
,
''
,
''
,
''
);
INSERT
INTO
`casbin_rule`
VALUES
(
'p'
,
'9528'
,
'/customer/
deleteExaCustomer'
,
'POST
'
,
''
,
''
,
''
);
INSERT
INTO
`casbin_rule`
VALUES
(
'p'
,
'9528'
,
'/customer/
getExaCustomer'
,
'POS
T'
,
''
,
''
,
''
);
INSERT
INTO
`casbin_rule`
VALUES
(
'p'
,
'9528'
,
'/customer/
getExaCustomerList'
,
'POS
T'
,
''
,
''
,
''
);
INSERT
INTO
`casbin_rule`
VALUES
(
'p'
,
'9528'
,
'/customer/customer'
,
'POST'
,
''
,
''
,
''
);
INSERT
INTO
`casbin_rule`
VALUES
(
'p'
,
'9528'
,
'/customer/
customer'
,
'PU
T'
,
''
,
''
,
''
);
INSERT
INTO
`casbin_rule`
VALUES
(
'p'
,
'9528'
,
'/customer/
customer'
,
'DELETE
'
,
''
,
''
,
''
);
INSERT
INTO
`casbin_rule`
VALUES
(
'p'
,
'9528'
,
'/customer/
customer'
,
'GE
T'
,
''
,
''
,
''
);
INSERT
INTO
`casbin_rule`
VALUES
(
'p'
,
'9528'
,
'/customer/
customerList'
,
'GE
T'
,
''
,
''
,
''
);
INSERT
INTO
`casbin_rule`
VALUES
(
'p'
,
'9528'
,
'/autoCode/createTemp'
,
'POST'
,
''
,
''
,
''
);
INSERT
INTO
`casbin_rule`
VALUES
(
'p'
,
'888'
,
'/base/login'
,
'POST'
,
''
,
''
,
''
);
INSERT
INTO
`casbin_rule`
VALUES
(
'p'
,
'888'
,
'/base/register'
,
'POST'
,
''
,
''
,
''
);
...
...
@@ -148,11 +148,11 @@ INSERT INTO `casbin_rule` VALUES ('p', '888', '/casbin/casbinTest/:pathParam', '
INSERT
INTO
`casbin_rule`
VALUES
(
'p'
,
'888'
,
'/jwt/jsonInBlacklist'
,
'POST'
,
''
,
''
,
''
);
INSERT
INTO
`casbin_rule`
VALUES
(
'p'
,
'888'
,
'/system/getSystemConfig'
,
'POST'
,
''
,
''
,
''
);
INSERT
INTO
`casbin_rule`
VALUES
(
'p'
,
'888'
,
'/system/setSystemConfig'
,
'POST'
,
''
,
''
,
''
);
INSERT
INTO
`casbin_rule`
VALUES
(
'p'
,
'888'
,
'/customer/c
reateExaC
ustomer'
,
'POST'
,
''
,
''
,
''
);
INSERT
INTO
`casbin_rule`
VALUES
(
'p'
,
'888'
,
'/customer/
updateExaCustomer'
,
'POS
T'
,
''
,
''
,
''
);
INSERT
INTO
`casbin_rule`
VALUES
(
'p'
,
'888'
,
'/customer/
deleteExaCustomer'
,
'POST
'
,
''
,
''
,
''
);
INSERT
INTO
`casbin_rule`
VALUES
(
'p'
,
'888'
,
'/customer/
getExaCustomer'
,
'POS
T'
,
''
,
''
,
''
);
INSERT
INTO
`casbin_rule`
VALUES
(
'p'
,
'888'
,
'/customer/
getExaCustomerList'
,
'POS
T'
,
''
,
''
,
''
);
INSERT
INTO
`casbin_rule`
VALUES
(
'p'
,
'888'
,
'/customer/customer'
,
'POST'
,
''
,
''
,
''
);
INSERT
INTO
`casbin_rule`
VALUES
(
'p'
,
'888'
,
'/customer/
customer'
,
'PU
T'
,
''
,
''
,
''
);
INSERT
INTO
`casbin_rule`
VALUES
(
'p'
,
'888'
,
'/customer/
customer'
,
'DELETE
'
,
''
,
''
,
''
);
INSERT
INTO
`casbin_rule`
VALUES
(
'p'
,
'888'
,
'/customer/
customer'
,
'GE
T'
,
''
,
''
,
''
);
INSERT
INTO
`casbin_rule`
VALUES
(
'p'
,
'888'
,
'/customer/
customerList'
,
'GE
T'
,
''
,
''
,
''
);
INSERT
INTO
`casbin_rule`
VALUES
(
'p'
,
'888'
,
'/autoCode/createTemp'
,
'POST'
,
''
,
''
,
''
);
INSERT
INTO
`casbin_rule`
VALUES
(
'p'
,
'asdasd'
,
'/base/login'
,
'POST'
,
''
,
''
,
''
);
INSERT
INTO
`casbin_rule`
VALUES
(
'p'
,
'asdasd'
,
'/base/register'
,
'POST'
,
''
,
''
,
''
);
...
...
@@ -3811,12 +3811,15 @@ CREATE TABLE `exa_customers` (
`sys_user_authority_id`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
,
PRIMARY
KEY
(
`id`
)
USING
BTREE
,
INDEX
`idx_exa_customers_deleted_at`
(
`deleted_at`
)
USING
BTREE
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
2
CHARACTER
SET
=
utf8
COLLATE
=
utf8_general_ci
ROW_FORMAT
=
Compact
;
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
5
CHARACTER
SET
=
utf8
COLLATE
=
utf8_general_ci
ROW_FORMAT
=
Compact
;
-- ----------------------------
-- Records of exa_customers
-- ----------------------------
INSERT
INTO
`exa_customers`
VALUES
(
1
,
'2020-02-25 18:01:48'
,
'2020-02-25 18:01:48'
,
NULL
,
'测试客户123'
,
'1761111111'
,
10
,
'888'
);
INSERT
INTO
`exa_customers`
VALUES
(
1
,
'2020-02-25 18:01:48'
,
'2020-04-10 12:29:29'
,
NULL
,
'测试客户'
,
'1761111111'
,
10
,
'888'
);
INSERT
INTO
`exa_customers`
VALUES
(
2
,
'2020-04-10 12:25:53'
,
'2020-04-10 12:25:53'
,
'2020-04-10 13:43:56'
,
'test'
,
'123123123'
,
10
,
'888'
);
INSERT
INTO
`exa_customers`
VALUES
(
3
,
'2020-04-10 13:44:12'
,
'2020-04-10 13:44:12'
,
'2020-04-10 13:44:13'
,
'123123'
,
'123123'
,
10
,
'888'
);
INSERT
INTO
`exa_customers`
VALUES
(
4
,
'2020-04-10 13:47:10'
,
'2020-04-10 13:47:10'
,
'2020-04-10 13:47:12'
,
'22222222'
,
'222222222222222'
,
10
,
'888'
);
-- ----------------------------
-- Table structure for exa_file_chunks
...
...
@@ -3989,11 +3992,11 @@ INSERT INTO `sys_apis` VALUES (35, '2019-12-28 18:18:07', '2019-12-28 18:18:07',
INSERT
INTO
`sys_apis`
VALUES
(
36
,
'2020-01-06 17:56:36'
,
'2020-01-06 17:56:36'
,
NULL
,
NULL
,
'/authority/setDataAuthority'
,
'设置角色资源权限'
,
'authority'
,
'POST'
);
INSERT
INTO
`sys_apis`
VALUES
(
37
,
'2020-01-13 14:04:05'
,
'2020-01-13 14:04:05'
,
NULL
,
NULL
,
'/system/getSystemConfig'
,
'获取配置文件内容'
,
'system'
,
'POST'
);
INSERT
INTO
`sys_apis`
VALUES
(
38
,
'2020-01-13 15:02:06'
,
'2020-01-13 15:02:06'
,
NULL
,
NULL
,
'/system/setSystemConfig'
,
'设置配置文件内容'
,
'system'
,
'POST'
);
INSERT
INTO
`sys_apis`
VALUES
(
39
,
'2020-02-25 15:32:39'
,
'2020-02-25 15:32:39'
,
NULL
,
NULL
,
'/customer/c
reateExaC
ustomer'
,
'创建客户'
,
'customer'
,
'POST'
);
INSERT
INTO
`sys_apis`
VALUES
(
40
,
'2020-02-25 15:32:51'
,
'2020-02-25 15:34:56'
,
NULL
,
NULL
,
'/customer/
updateExaCustomer'
,
'更新客户'
,
'customer'
,
'POS
T'
);
INSERT
INTO
`sys_apis`
VALUES
(
41
,
'2020-02-25 15:33:57'
,
'2020-02-25 15:33:57'
,
NULL
,
NULL
,
'/customer/
deleteExaCustomer'
,
'删除客户'
,
'customer'
,
'POST
'
);
INSERT
INTO
`sys_apis`
VALUES
(
42
,
'2020-02-25 15:36:48'
,
'2020-02-25 15:37:16'
,
NULL
,
NULL
,
'/customer/
getExaCustomer'
,
'获取单一客户'
,
'customer'
,
'POS
T'
);
INSERT
INTO
`sys_apis`
VALUES
(
43
,
'2020-02-25 15:37:06'
,
'2020-02-25 15:37:06'
,
NULL
,
NULL
,
'/customer/
getExaCustomerList'
,
'获取客户列表'
,
'customer'
,
'POS
T'
);
INSERT
INTO
`sys_apis`
VALUES
(
39
,
'2020-02-25 15:32:39'
,
'2020-02-25 15:32:39'
,
NULL
,
NULL
,
'/customer/customer'
,
'创建客户'
,
'customer'
,
'POST'
);
INSERT
INTO
`sys_apis`
VALUES
(
40
,
'2020-02-25 15:32:51'
,
'2020-02-25 15:34:56'
,
NULL
,
NULL
,
'/customer/
customer'
,
'更新客户'
,
'customer'
,
'PU
T'
);
INSERT
INTO
`sys_apis`
VALUES
(
41
,
'2020-02-25 15:33:57'
,
'2020-02-25 15:33:57'
,
NULL
,
NULL
,
'/customer/
customer'
,
'删除客户'
,
'customer'
,
'DELETE
'
);
INSERT
INTO
`sys_apis`
VALUES
(
42
,
'2020-02-25 15:36:48'
,
'2020-02-25 15:37:16'
,
NULL
,
NULL
,
'/customer/
customer'
,
'获取单一客户'
,
'customer'
,
'GE
T'
);
INSERT
INTO
`sys_apis`
VALUES
(
43
,
'2020-02-25 15:37:06'
,
'2020-02-25 15:37:06'
,
NULL
,
NULL
,
'/customer/
customerList'
,
'获取客户列表'
,
'customer'
,
'GE
T'
);
INSERT
INTO
`sys_apis`
VALUES
(
44
,
'2020-03-12 14:36:54'
,
'2020-03-12 14:56:50'
,
NULL
,
NULL
,
'/casbin/casbinTest/:pathParam'
,
'RESTFUL模式测试'
,
'casbin'
,
'GET'
);
INSERT
INTO
`sys_apis`
VALUES
(
45
,
'2020-03-29 23:01:28'
,
'2020-03-29 23:01:28'
,
NULL
,
NULL
,
'/autoCode/createTemp'
,
'自动化代码'
,
'autoCode'
,
'POST'
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录