修改了请求接口的bug
This commit is contained in:
@@ -596,16 +596,7 @@ public class V2XRefreshModel {
|
||||
String helpId) {
|
||||
if (mV2XApiService != null) {
|
||||
final Map<String, Object> 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())
|
||||
|
||||
Reference in New Issue
Block a user