Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
spring-microservice-exam
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
汪想
spring-microservice-exam
Commits
c1eb1d18
Commit
c1eb1d18
authored
Feb 22, 2020
by
tangyi
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev'
parents
57f38715
73d78bb8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
5 deletions
+6
-5
microservice_auth.sql
docs/deploy/mysql/init/microservice_auth.sql
+1
-1
microservice_exam.sql
docs/deploy/mysql/init/microservice_exam.sql
+0
-0
microservice_gateway.sql
docs/deploy/mysql/init/microservice_gateway.sql
+5
-4
microservice_user.sql
docs/deploy/mysql/init/microservice_user.sql
+0
-0
No files found.
docs/deploy/mysql/init/microservice_auth.sql
View file @
c1eb1d18
...
...
@@ -33,6 +33,6 @@ CREATE TABLE `oauth_client_details` (
-- ----------------------------
-- Records of oauth_client_details
-- ----------------------------
INSERT
INTO
`oauth_client_details`
VALUES
(
607150228717572096
,
'web_app'
,
NULL
,
'spring-microservice-exam-secret'
,
'$2a$10$IWLD8r7e0rKMW.ZhGsGCUO./MZUNDKudIswSToa9puXJwty.h59.u'
,
'read,write'
,
'password,authorization_code,refresh_token,implicit'
,
NULL
,
NULL
,
'3600'
,
'
21600'
,
NULL
,
NULL
,
'admin'
,
'2019-03-30 23:43:07'
,
'admin'
,
'2019-10-07 14:55:28
'
,
0
,
'EXAM'
,
'gitee'
);
INSERT
INTO
`oauth_client_details`
VALUES
(
607150228717572096
,
'web_app'
,
NULL
,
'spring-microservice-exam-secret'
,
'$2a$10$IWLD8r7e0rKMW.ZhGsGCUO./MZUNDKudIswSToa9puXJwty.h59.u'
,
'read,write'
,
'password,authorization_code,refresh_token,implicit'
,
NULL
,
NULL
,
'3600'
,
'
86400'
,
NULL
,
NULL
,
'admin'
,
'2019-03-30 23:43:07'
,
'admin'
,
'2019-12-24 21:56:19
'
,
0
,
'EXAM'
,
'gitee'
);
SET
FOREIGN_KEY_CHECKS
=
1
;
docs/deploy/mysql/init/microservice_exam.sql
View file @
c1eb1d18
This diff is collapsed.
Click to expand it.
docs/deploy/mysql/init/microservice_gateway.sql
View file @
c1eb1d18
SET
NAMES
utf8mb4
;
SET
FOREIGN_KEY_CHECKS
=
0
;
...
...
@@ -27,9 +28,9 @@ CREATE TABLE `sys_route` (
-- ----------------------------
-- Records of sys_route
-- ----------------------------
INSERT
INTO
`sys_route`
VALUES
(
607150228717572096
,
'msc-service'
,
'消息中心'
,
'[
\n
{
\n
\"
name
\"
:
\"
Path
\"
,
\n
\"
args
\"
: {
\n
\"
_genkey_0
\"
:
\"
/api/msc/**
\"\n
}
\n
}
\n
]'
,
'[
\n
{
\n
\"
name
\"
:
\"
StripPrefix
\"
,
\n
\"
args
\"
: {
\n
\"
_genkey_0
\"
:
\"
2
\"\n
}
\n
},
\n
{
\n
\"
name
\"
:
\"
RemoveRequestHeader
\"
,
\n
\"
args
\"
: {
\n
\"
_genkey_0
\"
:
\"
Cookie
\"
,
\n
\"
_genkey_1
\"
:
\"
Set-Cookie
\"\n
}
\n
}
\n
]'
,
'lb://msc-service'
,
4
,
0
,
''
,
'2019-10-07 15:04:11'
,
''
,
'2019-10-07 14:55:44
'
,
0
,
'EXAM'
);
INSERT
INTO
`sys_route`
VALUES
(
607150228717572097
,
'user-service'
,
'用户服务'
,
'[
\n
{
\n
\"
name
\"
:
\"
Path
\"
,
\n
\"
args
\"
: {
\n
\"
_genkey_0
\"
:
\"
/api/user/**
\"\n
}
\n
}
\n
]'
,
'[
\n
{
\n
\"
name
\"
:
\"
StripPrefix
\"
,
\n
\"
args
\"
: {
\n
\"
_genkey_0
\"
:
\"
2
\"\n
}
\n
},
\n
{
\n
\"
name
\"
:
\"
RemoveRequestHeader
\"
,
\n
\"
args
\"
: {
\n
\"
_genkey_0
\"
:
\"
Cookie
\"
,
\n
\"
_genkey_1
\"
:
\"
Set-Cookie
\"\n
}
\n
}
\n
]'
,
'lb://user-service'
,
2
,
0
,
'admin'
,
'2019-04-07 11:22:05
'
,
''
,
'2019-08-03 09:58:35'
,
0
,
'EXAM'
);
INSERT
INTO
`sys_route`
VALUES
(
607150228717572098
,
'exam-service'
,
'考试服务'
,
'[
\n
{
\n
\"
name
\"
:
\"
Path
\"
,
\n
\"
args
\"
: {
\n
\"
_genkey_0
\"
:
\"
/api/exam/**
\"\n
}
\n
}
\n
]'
,
'[
\n
{
\n
\"
name
\"
:
\"
StripPrefix
\"
,
\n
\"
args
\"
: {
\n
\"
_genkey_0
\"
:
\"
2
\"\n
}
\n
},
\n
{
\n
\"
name
\"
:
\"
RemoveRequestHeader
\"
,
\n
\"
args
\"
: {
\n
\"
_genkey_0
\"
:
\"
Cookie
\"
,
\n
\"
_genkey_1
\"
:
\"
Set-Cookie
\"\n
}
\n
}
\n
]'
,
'lb://exam-service'
,
3
,
0
,
'admin'
,
'2019-04-02 21:39:30'
,
''
,
'2019-08-03 09:58:54
'
,
0
,
'EXAM'
);
INSERT
INTO
`sys_route`
VALUES
(
607150228717572099
,
'auth-service'
,
'认证授权服务'
,
'[
\n
{
\n
\"
name
\"
:
\"
Path
\"
,
\n
\"
args
\"
: {
\n
\"
_genkey_0
\"
:
\"
/api/auth/**
\"\n
}
\n
}
\n
]'
,
'[
\n
{
\n
\"
name
\"
:
\"
StripPrefix
\"
,
\n
\"
args
\"
: {
\n
\"
_genkey_0
\"
:
\"
2
\"\n
}
\n
},
\n
{
\n
\"
name
\"
:
\"
RemoveRequestHeader
\"
,
\n
\"
args
\"
: {
\n
\"
_genkey_0
\"
:
\"
Cookie
\"
,
\n
\"
_genkey_1
\"
:
\"
Set-Cookie
\"\n
}
\n
}
\n
]'
,
'lb://auth-service'
,
1
,
0
,
'admin'
,
'2019-04-07 11:20:55'
,
''
,
'2019-08-03 09:58:48
'
,
0
,
'EXAM'
);
INSERT
INTO
`sys_route`
VALUES
(
607150228717572096
,
'msc-service'
,
'消息中心'
,
'[
{
\"
name
\"
:
\"
Path
\"
,
\"
args
\"
:{
\"
_genkey_0
\"
:
\"
/api/msc/**
\"
}}]'
,
'[{
\"
name
\"
:
\"
StripPrefix
\"
,
\"
args
\"
:{
\"
_genkey_0
\"
:
\"
2
\"
}},{
\"
name
\"
:
\"
RemoveRequestHeader
\"
,
\"
args
\"
:{
\"
_genkey_0
\"
:
\"
Cookie
\"
,
\"
_genkey_1
\"
:
\"
Set-Cookie
\"
}}]'
,
'lb://msc-service'
,
4
,
0
,
''
,
'2020-02-05 11:51:41'
,
''
,
'2020-02-05 11:51:42
'
,
0
,
'EXAM'
);
INSERT
INTO
`sys_route`
VALUES
(
607150228717572097
,
'user-service'
,
'用户服务'
,
'[
{
\"
name
\"
:
\"
Path
\"
,
\"
args
\"
: {
\"
_genkey_0
\"
:
\"
/api/user/**
\"
}}]'
,
'[
\n
{
\n
\"
name
\"
:
\"
StripPrefix
\"
,
\n
\"
args
\"
: {
\n
\"
_genkey_0
\"
:
\"
2
\"\n
}
\n
},
\n
{
\n
\"
name
\"
:
\"
RemoveRequestHeader
\"
,
\n
\"
args
\"
: {
\n
\"
_genkey_0
\"
:
\"
Cookie
\"
,
\n
\"
_genkey_1
\"
:
\"
Set-Cookie
\"\n
}
\n
}
\n
]'
,
'lb://user-service'
,
2
,
0
,
'admin'
,
'2020-02-04 14:15:08
'
,
''
,
'2019-08-03 09:58:35'
,
0
,
'EXAM'
);
INSERT
INTO
`sys_route`
VALUES
(
607150228717572098
,
'exam-service'
,
'考试服务'
,
'[
{
\"
name
\"
:
\"
Path
\"
,
\"
args
\"
:{
\"
_genkey_0
\"
:
\"
/api/exam/**
\"
}}]'
,
'[{
\"
name
\"
:
\"
StripPrefix
\"
,
\"
args
\"
:{
\"
_genkey_0
\"
:
\"
2
\"
}},{
\"
name
\"
:
\"
RemoveRequestHeader
\"
,
\"
args
\"
:{
\"
_genkey_0
\"
:
\"
Cookie
\"
,
\"
_genkey_1
\"
:
\"
Set-Cookie
\"
}}]'
,
'lb://exam-service'
,
3
,
0
,
'admin'
,
'2020-02-05 11:52:19'
,
''
,
'2020-02-05 11:52:19
'
,
0
,
'EXAM'
);
INSERT
INTO
`sys_route`
VALUES
(
607150228717572099
,
'auth-service'
,
'认证授权服务'
,
'[
{
\"
name
\"
:
\"
Path
\"
,
\"
args
\"
:{
\"
_genkey_0
\"
:
\"
/api/auth/**
\"
}}]'
,
'[
\n
{
\n
\"
name
\"
:
\"
StripPrefix
\"
,
\n
\"
args
\"
: {
\n
\"
_genkey_0
\"
:
\"
2
\"\n
}
\n
},
\n
{
\n
\"
name
\"
:
\"
RemoveRequestHeader
\"
,
\n
\"
args
\"
: {
\n
\"
_genkey_0
\"
:
\"
Cookie
\"
,
\n
\"
_genkey_1
\"
:
\"
Set-Cookie
\"\n
}
\n
}
\n
]'
,
'lb://auth-service'
,
1
,
0
,
'admin'
,
'2020-02-04 14:17:04'
,
''
,
'2020-02-04 14:17:05
'
,
0
,
'EXAM'
);
SET
FOREIGN_KEY_CHECKS
=
1
;
docs/deploy/mysql/init/microservice_user.sql
View file @
c1eb1d18
This source diff could not be displayed because it is too large. You can
view the blob
instead.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment