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
61d4b049
authored
Jun 08, 2020
by
pye52
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新上传日志的接口地址
parent
30b4d247
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
app/build.gradle
+2
-2
app/src/main/java/com/bgycc/smartcanteen/api/SCApi.java
+1
-1
No files found.
app/build.gradle
View file @
61d4b049
...
...
@@ -41,7 +41,7 @@ android {
tes
{
dimension
"smart_canteen"
buildConfigField
"String"
,
"MainWebSocketServerUrl"
,
'"wss://diningservicetest.bgy.com.cn/websocket/%s/V%s"'
buildConfigField
"String"
,
"MainHttpServerHost"
,
'"https://dining
back
test.bgy.com.cn"'
buildConfigField
"String"
,
"MainHttpServerHost"
,
'"https://dining
service
test.bgy.com.cn"'
}
uat
{
dimension
"smart_canteen"
...
...
@@ -51,7 +51,7 @@ android {
pro
{
dimension
"smart_canteen"
buildConfigField
"String"
,
"MainWebSocketServerUrl"
,
'"wss://diningservice.bgy.com.cn/websocket/%s/V%s"'
buildConfigField
"String"
,
"MainHttpServerHost"
,
'"https://dining
back
.bgy.com.cn"'
buildConfigField
"String"
,
"MainHttpServerHost"
,
'"https://dining
service
.bgy.com.cn"'
}
pro_cloud
{
dimension
"smart_canteen"
...
...
app/src/main/java/com/bgycc/smartcanteen/api/SCApi.java
View file @
61d4b049
...
...
@@ -12,6 +12,6 @@ public interface SCApi {
* @param file 要上传的日志文件
*/
@Multipart
@POST
(
"upload"
)
@POST
(
"
open/
upload"
)
Call
<
String
>
upload
(
@Part
MultipartBody
.
Part
file
);
}
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