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
0d5f2601
authored
Mar 06, 2020
by
pye52
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新版本及测试版地址
parent
e5889123
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
22 deletions
+5
-22
.idea/encodings.xml
+0
-5
.idea/gradle.xml
+1
-0
.idea/runConfigurations.xml
+0
-13
app/build.gradle
+2
-2
app/src/main/java/com/bgycc/smartcanteen/AppConfig.kt
+2
-2
No files found.
.idea/encodings.xml
deleted
100644 → 0
View file @
e5889123
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<component
name=
"Encoding"
addBOMForNewFiles=
"with NO BOM"
/>
</project>
\ No newline at end of file
.idea/gradle.xml
View file @
0d5f2601
...
...
@@ -3,6 +3,7 @@
<component
name=
"GradleSettings"
>
<option
name=
"linkedExternalProjectsSettings"
>
<GradleProjectSettings>
<option
name=
"testRunner"
value=
"PLATFORM"
/>
<option
name=
"distributionType"
value=
"DEFAULT_WRAPPED"
/>
<option
name=
"externalProjectPath"
value=
"$PROJECT_DIR$"
/>
<option
name=
"modules"
>
...
...
.idea/runConfigurations.xml
deleted
100644 → 0
View file @
e5889123
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<component
name=
"RunConfigurationProducerService"
>
<option
name=
"ignoredProducers"
>
<set>
<option
value=
"org.jetbrains.plugins.gradle.execution.test.runner.AllInPackageGradleConfigurationProducer"
/>
<option
value=
"org.jetbrains.plugins.gradle.execution.test.runner.TestClassGradleConfigurationProducer"
/>
<option
value=
"org.jetbrains.plugins.gradle.execution.test.runner.TestMethodGradleConfigurationProducer"
/>
</set>
</option>
</component>
</project>
\ No newline at end of file
app/build.gradle
View file @
0d5f2601
...
...
@@ -10,8 +10,8 @@ android {
applicationId
"com.bgycc.smartcanteen"
minSdkVersion
21
targetSdkVersion
22
versionCode
1
1
versionName
"
0.0.0"
// develop
分支
versionCode
1
2
versionName
"
1.3.3"
// test
分支
testInstrumentationRunner
"android.support.test.runner.AndroidJUnitRunner"
}
buildTypes
{
...
...
app/src/main/java/com/bgycc/smartcanteen/AppConfig.kt
View file @
0d5f2601
...
...
@@ -14,7 +14,7 @@ object AppConfig {
fun
getMainWebSocketServerHost
():
String
{
return
when
(
SERVER
)
{
Server
.
DEV
->
"10.187.43.221:9001"
Server
.
TEST
->
"diningservicetest.bgy.com.cn
:9001
"
Server
.
TEST
->
"diningservicetest.bgy.com.cn"
Server
.
UAT
->
"diningserviceuat.bgy.com.cn"
else
->
"diningservice.bgy.com.cn"
}
...
...
@@ -23,7 +23,7 @@ object AppConfig {
fun
getMainWebSocketServerUrl
(
id
:
String
,
version
:
String
):
String
{
return
when
(
SERVER
)
{
Server
.
DEV
->
"ws://${getMainWebSocketServerHost()}/websocket/$id/V$version"
Server
.
TEST
->
"ws://${getMainWebSocketServerHost()}/websocket/$id/V$version"
Server
.
TEST
->
"ws
s
://${getMainWebSocketServerHost()}/websocket/$id/V$version"
Server
.
UAT
->
"wss://${getMainWebSocketServerHost()}/websocket/$id/V$version"
else
->
"wss://${getMainWebSocketServerHost()}/websocket/$id/V$version"
}
...
...
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