修改IP地址
This commit is contained in:
parent
5fddfb2bed
commit
e683c357cd
@ -53,7 +53,7 @@ logging:
|
|||||||
spring:
|
spring:
|
||||||
profiles: dev
|
profiles: dev
|
||||||
datasource:
|
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
|
username: root
|
||||||
password: ******
|
password: ******
|
||||||
thymeleaf:
|
thymeleaf:
|
||||||
@ -79,7 +79,7 @@ logging:
|
|||||||
spring:
|
spring:
|
||||||
profiles: test
|
profiles: test
|
||||||
datasource:
|
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
|
username: root
|
||||||
password: ******
|
password: ******
|
||||||
thymeleaf:
|
thymeleaf:
|
||||||
|
@ -33,7 +33,7 @@ public class SocketClient {
|
|||||||
options.forceNew = true;
|
options.forceNew = true;
|
||||||
options.query = "username=test1&password=test1&appid=com.xncoding.apay2";
|
options.query = "username=test1&password=test1&appid=com.xncoding.apay2";
|
||||||
socket = IO.socket("http://localhost:9099/", options);
|
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() {
|
socket.on(Socket.EVENT_CONNECT, new Emitter.Listener() {
|
||||||
@Override
|
@Override
|
||||||
public void call(Object... args) {
|
public void call(Object... args) {
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
|
|
||||||
var userName = 'user' + Math.floor((Math.random()*1000)+1);
|
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() {
|
socket.on('connect', function() {
|
||||||
output('<span class="connect-msg">Client has connected to the server!</span>');
|
output('<span class="connect-msg">Client has connected to the server!</span>');
|
||||||
|
@ -61,7 +61,7 @@ logging:
|
|||||||
spring:
|
spring:
|
||||||
profiles: dev
|
profiles: dev
|
||||||
datasource:
|
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
|
username: root
|
||||||
password: ******
|
password: ******
|
||||||
thymeleaf:
|
thymeleaf:
|
||||||
@ -74,7 +74,7 @@ xncoding:
|
|||||||
files-url-prefix: https://show.xncoding.net/files/ # 文件访问URL前缀
|
files-url-prefix: https://show.xncoding.net/files/ # 文件访问URL前缀
|
||||||
pics-path: E:/home/
|
pics-path: E:/home/
|
||||||
pics-url-prefix: https://show.xncoding.net/pics/ # 图片访问URL前缀
|
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:
|
logging:
|
||||||
level:
|
level:
|
||||||
@ -92,7 +92,7 @@ logging:
|
|||||||
spring:
|
spring:
|
||||||
profiles: test
|
profiles: test
|
||||||
datasource:
|
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
|
username: root
|
||||||
password: ******
|
password: ******
|
||||||
thymeleaf:
|
thymeleaf:
|
||||||
@ -106,7 +106,7 @@ xncoding:
|
|||||||
pics-path: /usr/share/nginx/html/pics/
|
pics-path: /usr/share/nginx/html/pics/
|
||||||
pics-url-prefix: https://show.xncoding.net/pics/ # 图片访问URL前缀
|
pics-url-prefix: https://show.xncoding.net/pics/ # 图片访问URL前缀
|
||||||
# posapi-url-prefix: http://posapi.enzhico.net
|
# 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:
|
logging:
|
||||||
level:
|
level:
|
||||||
|
@ -10,7 +10,7 @@ spring:
|
|||||||
profiles:
|
profiles:
|
||||||
active: dev
|
active: dev
|
||||||
datasource:
|
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
|
username: root
|
||||||
password: ******
|
password: ******
|
||||||
|
|
||||||
@ -43,7 +43,7 @@ spring:
|
|||||||
cache:
|
cache:
|
||||||
type: REDIS
|
type: REDIS
|
||||||
redis:
|
redis:
|
||||||
host: 123.207.66.156
|
host: 127.0.0.1
|
||||||
port: 6379
|
port: 6379
|
||||||
timeout: 0
|
timeout: 0
|
||||||
database: 0
|
database: 0
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
/*
|
/*
|
||||||
Navicat MySQL Data Transfer
|
Navicat MySQL Data Transfer
|
||||||
|
|
||||||
Source Server : 123.207.66.156-mysql
|
Source Server : 127.0.0.1-mysql
|
||||||
Source Server Version : 50718
|
Source Server Version : 50718
|
||||||
Source Host : 123.207.66.156:3306
|
Source Host : 127.0.0.1:3306
|
||||||
Source Database : test
|
Source Database : test
|
||||||
|
|
||||||
Target Server Type : MYSQL
|
Target Server Type : MYSQL
|
||||||
|
@ -34,7 +34,7 @@ logging:
|
|||||||
spring:
|
spring:
|
||||||
profiles: dev
|
profiles: dev
|
||||||
datasource:
|
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
|
username: root
|
||||||
password: ******
|
password: ******
|
||||||
thymeleaf:
|
thymeleaf:
|
||||||
@ -56,7 +56,7 @@ logging:
|
|||||||
spring:
|
spring:
|
||||||
profiles: test
|
profiles: test
|
||||||
datasource:
|
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
|
username: root
|
||||||
password: ******
|
password: ******
|
||||||
thymeleaf:
|
thymeleaf:
|
||||||
|
@ -7,7 +7,7 @@ spring:
|
|||||||
profiles:
|
profiles:
|
||||||
active: dev
|
active: dev
|
||||||
datasource:
|
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
|
username: root
|
||||||
password: ******
|
password: ******
|
||||||
|
|
||||||
@ -40,7 +40,7 @@ spring:
|
|||||||
cache:
|
cache:
|
||||||
type: REDIS
|
type: REDIS
|
||||||
redis:
|
redis:
|
||||||
host: 123.207.66.156
|
host: 127.0.0.1
|
||||||
port: 6379
|
port: 6379
|
||||||
timeout: 0
|
timeout: 0
|
||||||
database: 0
|
database: 0
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
/*
|
/*
|
||||||
Navicat MySQL Data Transfer
|
Navicat MySQL Data Transfer
|
||||||
|
|
||||||
Source Server : 123.207.66.156-mysql
|
Source Server : 127.0.0.1-mysql
|
||||||
Source Server Version : 50718
|
Source Server Version : 50718
|
||||||
Source Host : 123.207.66.156:3306
|
Source Host : 127.0.0.1:3306
|
||||||
Source Database : test
|
Source Database : test
|
||||||
|
|
||||||
Target Server Type : MYSQL
|
Target Server Type : MYSQL
|
||||||
|
@ -61,7 +61,7 @@ logging:
|
|||||||
spring:
|
spring:
|
||||||
profiles: dev
|
profiles: dev
|
||||||
datasource:
|
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
|
username: root
|
||||||
password: ******
|
password: ******
|
||||||
thymeleaf:
|
thymeleaf:
|
||||||
@ -74,7 +74,7 @@ xncoding:
|
|||||||
files-url-prefix: https://show.xncoding.net/files/ # 文件访问URL前缀
|
files-url-prefix: https://show.xncoding.net/files/ # 文件访问URL前缀
|
||||||
pics-path: E:/home/
|
pics-path: E:/home/
|
||||||
pics-url-prefix: https://show.xncoding.net/pics/ # 图片访问URL前缀
|
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:
|
logging:
|
||||||
level:
|
level:
|
||||||
@ -92,7 +92,7 @@ logging:
|
|||||||
spring:
|
spring:
|
||||||
profiles: test
|
profiles: test
|
||||||
datasource:
|
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
|
username: root
|
||||||
password: ******
|
password: ******
|
||||||
thymeleaf:
|
thymeleaf:
|
||||||
@ -106,7 +106,7 @@ xncoding:
|
|||||||
pics-path: /usr/share/nginx/html/pics/
|
pics-path: /usr/share/nginx/html/pics/
|
||||||
pics-url-prefix: https://show.xncoding.net/pics/ # 图片访问URL前缀
|
pics-url-prefix: https://show.xncoding.net/pics/ # 图片访问URL前缀
|
||||||
# posapi-url-prefix: http://posapi.enzhico.net
|
# 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:
|
logging:
|
||||||
level:
|
level:
|
||||||
|
@ -15,7 +15,7 @@ spring:
|
|||||||
profiles:
|
profiles:
|
||||||
active: dev
|
active: dev
|
||||||
datasource:
|
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
|
username: root
|
||||||
password: ******
|
password: ******
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user