修改IP地址

This commit is contained in:
yidao620 2018-02-28 11:22:25 +08:00
parent 5fddfb2bed
commit e683c357cd
11 changed files with 23 additions and 23 deletions

View File

@ -53,7 +53,7 @@ logging:
spring:
profiles: dev
datasource:
url: jdbc:mysql://123.207.66.156:3306/pos?useSSL=false&autoReconnect=true&tinyInt1isBit=false&useUnicode=true&characterEncoding=utf8
url: jdbc:mysql://127.0.0.1:3306/pos?useSSL=false&autoReconnect=true&tinyInt1isBit=false&useUnicode=true&characterEncoding=utf8
username: root
password: ******
thymeleaf:
@ -79,7 +79,7 @@ logging:
spring:
profiles: test
datasource:
url: jdbc:mysql://123.207.66.156:3306/pos?useSSL=false&autoReconnect=true&tinyInt1isBit=false&useUnicode=true&characterEncoding=utf8
url: jdbc:mysql://127.0.0.1:3306/pos?useSSL=false&autoReconnect=true&tinyInt1isBit=false&useUnicode=true&characterEncoding=utf8
username: root
password: ******
thymeleaf:

View File

@ -33,7 +33,7 @@ public class SocketClient {
options.forceNew = true;
options.query = "username=test1&password=test1&appid=com.xncoding.apay2";
socket = IO.socket("http://localhost:9099/", options);
// socket = IO.socket("http://123.207.66.156:9099/", options);
// socket = IO.socket("http://127.0.0.1:9099/", options);
socket.on(Socket.EVENT_CONNECT, new Emitter.Listener() {
@Override
public void call(Object... args) {

View File

@ -31,7 +31,7 @@
var userName = 'user' + Math.floor((Math.random()*1000)+1);
var socket = io.connect('http://123.207.66.156:9099?username=' + userName + '&password=123456');
var socket = io.connect('http://127.0.0.1:9099?username=' + userName + '&password=123456');
socket.on('connect', function() {
output('<span class="connect-msg">Client has connected to the server!</span>');

View File

@ -61,7 +61,7 @@ logging:
spring:
profiles: dev
datasource:
url: jdbc:mysql://123.207.66.156:3306/pos?useSSL=false&autoReconnect=true&tinyInt1isBit=false&useUnicode=true&characterEncoding=utf8
url: jdbc:mysql://127.0.0.1:3306/pos?useSSL=false&autoReconnect=true&tinyInt1isBit=false&useUnicode=true&characterEncoding=utf8
username: root
password: ******
thymeleaf:
@ -74,7 +74,7 @@ xncoding:
files-url-prefix: https://show.xncoding.net/files/ # 文件访问URL前缀
pics-path: E:/home/
pics-url-prefix: https://show.xncoding.net/pics/ # 图片访问URL前缀
posapi-url-prefix: http://123.207.66.156:9095
posapi-url-prefix: http://127.0.0.1:9095
logging:
level:
@ -92,7 +92,7 @@ logging:
spring:
profiles: test
datasource:
url: jdbc:mysql://123.207.66.156:3306/pos?useSSL=false&autoReconnect=true&tinyInt1isBit=false&useUnicode=true&characterEncoding=utf8
url: jdbc:mysql://127.0.0.1:3306/pos?useSSL=false&autoReconnect=true&tinyInt1isBit=false&useUnicode=true&characterEncoding=utf8
username: root
password: ******
thymeleaf:
@ -106,7 +106,7 @@ xncoding:
pics-path: /usr/share/nginx/html/pics/
pics-url-prefix: https://show.xncoding.net/pics/ # 图片访问URL前缀
# posapi-url-prefix: http://posapi.enzhico.net
posapi-url-prefix: http://123.207.66.156:9095
posapi-url-prefix: http://127.0.0.1:9095
logging:
level:

View File

@ -10,7 +10,7 @@ spring:
profiles:
active: dev
datasource:
url: jdbc:mysql://123.207.66.156:3306/test?useSSL=false&autoReconnect=true&tinyInt1isBit=false&useUnicode=true&characterEncoding=utf8
url: jdbc:mysql://127.0.0.1:3306/test?useSSL=false&autoReconnect=true&tinyInt1isBit=false&useUnicode=true&characterEncoding=utf8
username: root
password: ******
@ -43,7 +43,7 @@ spring:
cache:
type: REDIS
redis:
host: 123.207.66.156
host: 127.0.0.1
port: 6379
timeout: 0
database: 0

View File

@ -1,9 +1,9 @@
/*
Navicat MySQL Data Transfer
Source Server : 123.207.66.156-mysql
Source Server : 127.0.0.1-mysql
Source Server Version : 50718
Source Host : 123.207.66.156:3306
Source Host : 127.0.0.1:3306
Source Database : test
Target Server Type : MYSQL

View File

@ -34,7 +34,7 @@ logging:
spring:
profiles: dev
datasource:
url: jdbc:mysql://123.207.66.156:3306/pos?useSSL=false&autoReconnect=true&tinyInt1isBit=false&useUnicode=true&characterEncoding=utf8
url: jdbc:mysql://127.0.0.1:3306/pos?useSSL=false&autoReconnect=true&tinyInt1isBit=false&useUnicode=true&characterEncoding=utf8
username: root
password: ******
thymeleaf:
@ -56,7 +56,7 @@ logging:
spring:
profiles: test
datasource:
url: jdbc:mysql://123.207.66.156:3306/pos?useSSL=false&autoReconnect=true&tinyInt1isBit=false&useUnicode=true&characterEncoding=utf8
url: jdbc:mysql://127.0.0.1:3306/pos?useSSL=false&autoReconnect=true&tinyInt1isBit=false&useUnicode=true&characterEncoding=utf8
username: root
password: ******
thymeleaf:

View File

@ -7,7 +7,7 @@ spring:
profiles:
active: dev
datasource:
url: jdbc:mysql://123.207.66.156:3306/test?useSSL=false&autoReconnect=true&tinyInt1isBit=false&useUnicode=true&characterEncoding=utf8
url: jdbc:mysql://127.0.0.1:3306/test?useSSL=false&autoReconnect=true&tinyInt1isBit=false&useUnicode=true&characterEncoding=utf8
username: root
password: ******
@ -40,7 +40,7 @@ spring:
cache:
type: REDIS
redis:
host: 123.207.66.156
host: 127.0.0.1
port: 6379
timeout: 0
database: 0

View File

@ -1,9 +1,9 @@
/*
Navicat MySQL Data Transfer
Source Server : 123.207.66.156-mysql
Source Server : 127.0.0.1-mysql
Source Server Version : 50718
Source Host : 123.207.66.156:3306
Source Host : 127.0.0.1:3306
Source Database : test
Target Server Type : MYSQL

View File

@ -61,7 +61,7 @@ logging:
spring:
profiles: dev
datasource:
url: jdbc:mysql://123.207.66.156:3306/pos?useSSL=false&autoReconnect=true&tinyInt1isBit=false&useUnicode=true&characterEncoding=utf8
url: jdbc:mysql://127.0.0.1:3306/pos?useSSL=false&autoReconnect=true&tinyInt1isBit=false&useUnicode=true&characterEncoding=utf8
username: root
password: ******
thymeleaf:
@ -74,7 +74,7 @@ xncoding:
files-url-prefix: https://show.xncoding.net/files/ # 文件访问URL前缀
pics-path: E:/home/
pics-url-prefix: https://show.xncoding.net/pics/ # 图片访问URL前缀
posapi-url-prefix: http://123.207.66.156:9095
posapi-url-prefix: http://127.0.0.1:9095
logging:
level:
@ -92,7 +92,7 @@ logging:
spring:
profiles: test
datasource:
url: jdbc:mysql://123.207.66.156:3306/pos?useSSL=false&autoReconnect=true&tinyInt1isBit=false&useUnicode=true&characterEncoding=utf8
url: jdbc:mysql://127.0.0.1:3306/pos?useSSL=false&autoReconnect=true&tinyInt1isBit=false&useUnicode=true&characterEncoding=utf8
username: root
password: ******
thymeleaf:
@ -106,7 +106,7 @@ xncoding:
pics-path: /usr/share/nginx/html/pics/
pics-url-prefix: https://show.xncoding.net/pics/ # 图片访问URL前缀
# posapi-url-prefix: http://posapi.enzhico.net
posapi-url-prefix: http://123.207.66.156:9095
posapi-url-prefix: http://127.0.0.1:9095
logging:
level:

View File

@ -15,7 +15,7 @@ spring:
profiles:
active: dev
datasource:
url: jdbc:mysql://123.207.66.156:3306/test?useSSL=false&autoReconnect=true&tinyInt1isBit=false&useUnicode=true&characterEncoding=utf8
url: jdbc:mysql://127.0.0.1:3306/test?useSSL=false&autoReconnect=true&tinyInt1isBit=false&useUnicode=true&characterEncoding=utf8
username: root
password: ******