Commit 61d4b049 by pye52

更新上传日志的接口地址

parent 30b4d247
...@@ -41,7 +41,7 @@ android { ...@@ -41,7 +41,7 @@ android {
tes { tes {
dimension "smart_canteen" dimension "smart_canteen"
buildConfigField "String", "MainWebSocketServerUrl", '"wss://diningservicetest.bgy.com.cn/websocket/%s/V%s"' buildConfigField "String", "MainWebSocketServerUrl", '"wss://diningservicetest.bgy.com.cn/websocket/%s/V%s"'
buildConfigField "String", "MainHttpServerHost", '"https://diningbacktest.bgy.com.cn"' buildConfigField "String", "MainHttpServerHost", '"https://diningservicetest.bgy.com.cn"'
} }
uat { uat {
dimension "smart_canteen" dimension "smart_canteen"
...@@ -51,7 +51,7 @@ android { ...@@ -51,7 +51,7 @@ android {
pro { pro {
dimension "smart_canteen" dimension "smart_canteen"
buildConfigField "String", "MainWebSocketServerUrl", '"wss://diningservice.bgy.com.cn/websocket/%s/V%s"' buildConfigField "String", "MainWebSocketServerUrl", '"wss://diningservice.bgy.com.cn/websocket/%s/V%s"'
buildConfigField "String", "MainHttpServerHost", '"https://diningback.bgy.com.cn"' buildConfigField "String", "MainHttpServerHost", '"https://diningservice.bgy.com.cn"'
} }
pro_cloud { pro_cloud {
dimension "smart_canteen" dimension "smart_canteen"
......
...@@ -12,6 +12,6 @@ public interface SCApi { ...@@ -12,6 +12,6 @@ public interface SCApi {
* @param file 要上传的日志文件 * @param file 要上传的日志文件
*/ */
@Multipart @Multipart
@POST("upload") @POST("open/upload")
Call<String> upload(@Part MultipartBody.Part file); Call<String> upload(@Part MultipartBody.Part file);
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment