mirror of
https://github.com/RemainderTime/spring-boot-base-demo.git
synced 2026-04-20 18:57:35 +08:00
地址调整
This commit is contained in:
@@ -10,18 +10,18 @@ spring:
|
|||||||
connection-test-query: SELECT 1
|
connection-test-query: SELECT 1
|
||||||
datasource:
|
datasource:
|
||||||
master:
|
master:
|
||||||
url: jdbc:mysql://122.112.153.128:3306/xf-boot-base?useUnicode=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&useSSL=false&serverTimezone=Asia/Shanghai
|
url: jdbc:mysql://120.48.109.209:3306/xf-boot-base?useUnicode=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&useSSL=false&serverTimezone=Asia/Shanghai
|
||||||
username: root
|
username: root
|
||||||
password: 123456
|
password: 123456
|
||||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||||
slave:
|
slave:
|
||||||
url: jdbc:mysql://122.112.153.128:3306/xf-boot-base?useUnicode=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&useSSL=false&serverTimezone=Asia/Shanghai
|
url: jdbc:mysql://120.48.109.209:3306/xf-boot-base?useUnicode=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&useSSL=false&serverTimezone=Asia/Shanghai
|
||||||
username: root
|
username: root
|
||||||
password: 123456
|
password: 123456
|
||||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||||
redis:
|
redis:
|
||||||
port: 6379 #Redis服务器连接的端口
|
port: 6379 #Redis服务器连接的端口
|
||||||
host: 122.112.153.128 # Redis服务器的地址
|
host: 120.48.109.209 # Redis服务器的地址
|
||||||
password: redis # Redis服务器连接密码(默认为空)
|
password: redis # Redis服务器连接密码(默认为空)
|
||||||
timeout: 5000 # 连接超时时间(毫秒)
|
timeout: 5000 # 连接超时时间(毫秒)
|
||||||
lettuce: #参考博客 https://blog.csdn.net/weixin_43944305/article/details/124322595
|
lettuce: #参考博客 https://blog.csdn.net/weixin_43944305/article/details/124322595
|
||||||
|
|||||||
@@ -54,7 +54,7 @@
|
|||||||
var json = JSON.stringify(data);
|
var json = JSON.stringify(data);
|
||||||
var cipher = this.encryptByPublicKey(json);
|
var cipher = this.encryptByPublicKey(json);
|
||||||
console.log("密文 :" + cipher);
|
console.log("密文 :" + cipher);
|
||||||
var url = "http://122.112.153.128:8089/user/login";
|
var url = "http://120.48.109.209:8089/user/login";
|
||||||
axios.post(url, {
|
axios.post(url, {
|
||||||
encryptedData: cipher,
|
encryptedData: cipher,
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user