Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
zlt2000
microservices-platform
提交
b54d0989
microservices-platform
项目概览
zlt2000
/
microservices-platform
8 个月 前同步成功
通知
16
Star
4
Fork
3
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
microservices-platform
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
b54d0989
编写于
3月 08, 2023
作者:
zlt2000
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix:1.jackson-databind版本冲突;2.oauth_client_details的初始化语句错误
上级
f8340fa8
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
8 addition
and
8 deletion
+8
-8
pom.xml
pom.xml
+1
-1
zlt-config/src/main/resources/application-dev.properties
zlt-config/src/main/resources/application-dev.properties
+3
-3
zlt-config/src/main/resources/bootstrap.properties
zlt-config/src/main/resources/bootstrap.properties
+1
-1
zlt-doc/sql/oauth-center.sql
zlt-doc/sql/oauth-center.sql
+3
-3
未找到文件。
pom.xml
浏览文件 @
b54d0989
...
...
@@ -50,7 +50,7 @@
<hibernate-validator.version>
6.2.0.Final
</hibernate-validator.version>
<dubbo.version>
2.7.8
</dubbo.version>
<curator.version>
5.1.0
</curator.version>
<jackson-databind.version>
2.1
3
.4
</jackson-databind.version>
<jackson-databind.version>
2.1
2
.4
</jackson-databind.version>
<commons-configuration.version>
1.10
</commons-configuration.version>
<zuul.version>
2.2.9.RELEASE
</zuul.version>
<aws-java-sdk-s3.version>
1.12.40
</aws-java-sdk-s3.version>
...
...
zlt-config/src/main/resources/application-dev.properties
浏览文件 @
b54d0989
########################## 统一变量配置 ##########################
##### 数据库配置
zlt.datasource.ip
=
1
27.0.0.1
zlt.datasource.ip
=
1
92.168.28.130
zlt.datasource.username
=
root
zlt.datasource.password
=
1
23456
zlt.datasource.password
=
1
q2w3e4r
##### redis配置
spring.redis.host
=
1
27.0.0.1
spring.redis.host
=
1
92.168.28.130
spring.redis.port
=
6379
spring.redis.timeout
=
5000
...
...
zlt-config/src/main/resources/bootstrap.properties
浏览文件 @
b54d0989
...
...
@@ -3,7 +3,7 @@
spring.profiles.active
=
dev
##### nacos(注册中心和配置中心)地址
spring.cloud.nacos.server-addr
=
1
27.0.0.1
:8848
spring.cloud.nacos.server-addr
=
1
92.168.28.130
:8848
spring.cloud.nacos.username
=
nacos
spring.cloud.nacos.password
=
nacos
spring.cloud.nacos.config.file-extension
=
yml
...
...
zlt-doc/sql/oauth-center.sql
浏览文件 @
b54d0989
...
...
@@ -31,6 +31,6 @@ CREATE TABLE `oauth_client_details` (
-- ----------------------------
-- Records of oauth_client_details
-- ----------------------------
INSERT
INTO
`oauth_client_details`
VALUES
(
1
,
'webApp'
,
NULL
,
'$2a$10$06msMGYRH8nrm4iVnKFNKOoddB8wOwymVhbUzw/d3ZixD7Nq8ot72'
,
'webApp'
,
'app'
,
'authorization_code,password,refresh_token,client_credentials,implicit,password_code,openId,mobile_password'
,
'http://127.0.0.1:8082/callback.html'
,
NULL
,
3600
,
NULL
,
'{"LOGOUT_NOTIFY_URL_LIST":"http://127.0.0.1:8082/logoutNotify"}'
,
'true'
,
NULL
,
NULL
,
'pc端'
,
1
,
60
);
INSERT
INTO
`oauth_client_details`
VALUES
(
2
,
'app'
,
NULL
,
'$2a$10$i3F515wEDiB4Gvj9ym9Prui0dasRttEUQ9ink4Wpgb4zEDCAlV8zO'
,
'app'
,
'app'
,
'authorization_code,password,refresh_token'
,
'http://127.0.0.1:8081/callback.html'
,
NULL
,
3600
,
NULL
,
'{"LOGOUT_NOTIFY_URL_LIST":"http://127.0.0.1:8081/logoutNotify"}'
,
'true'
,
NULL
,
NULL
,
'移动端'
,
1
,
60
);
INSERT
INTO
`oauth_client_details`
VALUES
(
3
,
'zlt'
,
NULL
,
'$2a$10$/o.wuORzVcXaezmYVzwYMuoY7qeWXBALwQmkskXD/7C6rqfCyPrna'
,
'zlt'
,
'all'
,
'authorization_code,password,refresh_token,client_credentials'
,
'http://127.0.0.1:8080/singleLogin'
,
NULL
,
3600
,
28800
,
'{}'
,
'true'
,
'2018-12-27 00:50:30'
,
'2018-12-27 00:50:30'
,
'第三方应用'
,
1
,
60
);
\ No newline at end of file
INSERT
INTO
`oauth_client_details`
VALUES
(
1
,
'webApp'
,
NULL
,
'$2a$10$06msMGYRH8nrm4iVnKFNKOoddB8wOwymVhbUzw/d3ZixD7Nq8ot72'
,
'webApp'
,
'app'
,
'authorization_code,password,refresh_token,client_credentials,implicit,password_code,openId,mobile_password'
,
'http://127.0.0.1:8082/callback.html'
,
NULL
,
3600
,
NULL
,
'{"LOGOUT_NOTIFY_URL_LIST":"http://127.0.0.1:8082/logoutNotify"}'
,
'true'
,
NULL
,
NULL
,
'pc端'
,
1
,
60
,
1
);
INSERT
INTO
`oauth_client_details`
VALUES
(
2
,
'app'
,
NULL
,
'$2a$10$i3F515wEDiB4Gvj9ym9Prui0dasRttEUQ9ink4Wpgb4zEDCAlV8zO'
,
'app'
,
'app'
,
'authorization_code,password,refresh_token'
,
'http://127.0.0.1:8081/callback.html'
,
NULL
,
3600
,
NULL
,
'{"LOGOUT_NOTIFY_URL_LIST":"http://127.0.0.1:8081/logoutNotify"}'
,
'true'
,
NULL
,
NULL
,
'移动端'
,
1
,
60
,
1
);
INSERT
INTO
`oauth_client_details`
VALUES
(
3
,
'zlt'
,
NULL
,
'$2a$10$/o.wuORzVcXaezmYVzwYMuoY7qeWXBALwQmkskXD/7C6rqfCyPrna'
,
'zlt'
,
'all'
,
'authorization_code,password,refresh_token,client_credentials'
,
'http://127.0.0.1:8080/singleLogin'
,
NULL
,
3600
,
28800
,
'{}'
,
'true'
,
'2018-12-27 00:50:30'
,
'2018-12-27 00:50:30'
,
'第三方应用'
,
1
,
60
,
1
);
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录