From 4cb0b212c7440ecdab10a4c0656a9d2cc6ea1e4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=91=A3=E5=AE=8F=E5=AE=87?= Date: Fri, 23 Oct 2020 21:17:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=86=E8=AF=B7=E6=B1=82?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/mogo/module/v2x/network/V2XRefreshModel.java | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/modules/mogo-module-v2x/src/main/java/com/mogo/module/v2x/network/V2XRefreshModel.java b/modules/mogo-module-v2x/src/main/java/com/mogo/module/v2x/network/V2XRefreshModel.java index 7fa8ad9bae..b8708c3a82 100644 --- a/modules/mogo-module-v2x/src/main/java/com/mogo/module/v2x/network/V2XRefreshModel.java +++ b/modules/mogo-module-v2x/src/main/java/com/mogo/module/v2x/network/V2XRefreshModel.java @@ -596,16 +596,7 @@ public class V2XRefreshModel { String helpId) { if (mV2XApiService != null) { final Map map = new ParamsProvider.Builder(mContext).build(); - String json = new StringBuilder() - .append("{") - .append("\"id\":").append(id) - .append(",") - .append("\"sn\":").append(Utils.getSn()) - .append(",") - .append("\"status\":").append(status) - .append(",") - .append("\"helpId\":").append(helpId) - .append("}").toString(); + String json = "{" + "\"id\":\"" + id + "\"," + "\"sn\":\"" + Utils.getSn() + "\"," + "\"status\":" + status + "," + "\"helpId\":\"" + helpId + "\"}"; map.put("data", json); mV2XApiService.manualMarkingTrafficJam(map).subscribeOn(Schedulers.io()) .observeOn(AndroidSchedulers.mainThread())