Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
huangzhicong
/
SmartCanteen
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
0e7623f1
authored
Nov 15, 2019
by
patpat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改生产环境地址
parent
75b186f2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/src/main/java/com/bgycc/smartcanteen/AppConfig.java
+1
-1
app/src/main/java/com/bgycc/smartcanteen/server/websocket/MainWebSocket.java
+1
-1
No files found.
app/src/main/java/com/bgycc/smartcanteen/AppConfig.java
View file @
0e7623f1
...
@@ -14,7 +14,7 @@ public class AppConfig {
...
@@ -14,7 +14,7 @@ public class AppConfig {
case
DEV:
return
"ws://10.187.17.22:9001/websocket/%s"
;
case
DEV:
return
"ws://10.187.17.22:9001/websocket/%s"
;
case
TEST:
return
"ws://diningservicetest.bgy.com.cn:9001/websocket/%s"
;
case
TEST:
return
"ws://diningservicetest.bgy.com.cn:9001/websocket/%s"
;
default
:
default
:
case
PROD:
return
"ws
://10.10.182.48:9001
/websocket/%s"
;
case
PROD:
return
"ws
s://diningservice.bgy.com.cn
/websocket/%s"
;
}
}
}
}
}
}
app/src/main/java/com/bgycc/smartcanteen/server/websocket/MainWebSocket.java
View file @
0e7623f1
...
@@ -64,7 +64,7 @@ public class MainWebSocket extends WebSocketClient {
...
@@ -64,7 +64,7 @@ public class MainWebSocket extends WebSocketClient {
EventBus
.
getDefault
().
post
(
new
ConnectStateEvent
(
ConnectStateEvent
.
RECONNECTING
));
EventBus
.
getDefault
().
post
(
new
ConnectStateEvent
(
ConnectStateEvent
.
RECONNECTING
));
}
}
}
}
},
1
000
);
},
5
000
);
}
catch
(
URISyntaxException
e
)
{
}
catch
(
URISyntaxException
e
)
{
e
.
printStackTrace
();
e
.
printStackTrace
();
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment