Skip to content

Commit 3ff2962

Browse files
authored
Merge pull request #59 from zlt2000/dev
fix:1.jackson-databind版本冲突;2.oauth_client_details的初始化语句错误
2 parents ca576e1 + b54d098 commit 3ff2962

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
<hibernate-validator.version>6.2.0.Final</hibernate-validator.version>
5151
<dubbo.version>2.7.8</dubbo.version>
5252
<curator.version>5.1.0</curator.version>
53-
<jackson-databind.version>2.13.4</jackson-databind.version>
53+
<jackson-databind.version>2.12.4</jackson-databind.version>
5454
<commons-configuration.version>1.10</commons-configuration.version>
5555
<zuul.version>2.2.9.RELEASE</zuul.version>
5656
<aws-java-sdk-s3.version>1.12.40</aws-java-sdk-s3.version>

zlt-config/src/main/resources/application-dev.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
########################## 统一变量配置 ##########################
22
##### 数据库配置
3-
zlt.datasource.ip=127.0.0.1
3+
zlt.datasource.ip=192.168.28.130
44
zlt.datasource.username=root
5-
zlt.datasource.password=123456
5+
zlt.datasource.password=1q2w3e4r
66

77
##### redis配置
8-
spring.redis.host=127.0.0.1
8+
spring.redis.host=192.168.28.130
99
spring.redis.port=6379
1010
spring.redis.timeout=5000
1111

zlt-config/src/main/resources/bootstrap.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
spring.profiles.active=dev
44

55
##### nacos(注册中心和配置中心)地址
6-
spring.cloud.nacos.server-addr=127.0.0.1:8848
6+
spring.cloud.nacos.server-addr=192.168.28.130:8848
77
spring.cloud.nacos.username=nacos
88
spring.cloud.nacos.password=nacos
99
spring.cloud.nacos.config.file-extension=yml

zlt-doc/sql/oauth-center.sql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ CREATE TABLE `oauth_client_details` (
3131
-- ----------------------------
3232
-- Records of oauth_client_details
3333
-- ----------------------------
34-
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);
35-
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);
36-
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);
34+
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);
35+
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);
36+
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);

0 commit comments

Comments
 (0)