修改IP地址
This commit is contained in:
@ -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:
|
||||
|
||||
@ -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) {
|
||||
|
||||
@ -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>');
|
||||
|
||||
Reference in New Issue
Block a user