修改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>');