修改了请求接口的bug
This commit is contained in:
@@ -596,16 +596,7 @@ public class V2XRefreshModel {
|
|||||||
String helpId) {
|
String helpId) {
|
||||||
if (mV2XApiService != null) {
|
if (mV2XApiService != null) {
|
||||||
final Map<String, Object> map = new ParamsProvider.Builder(mContext).build();
|
final Map<String, Object> map = new ParamsProvider.Builder(mContext).build();
|
||||||
String json = new StringBuilder()
|
String json = "{" + "\"id\":\"" + id + "\"," + "\"sn\":\"" + Utils.getSn() + "\"," + "\"status\":" + status + "," + "\"helpId\":\"" + helpId + "\"}";
|
||||||
.append("{")
|
|
||||||
.append("\"id\":").append(id)
|
|
||||||
.append(",")
|
|
||||||
.append("\"sn\":").append(Utils.getSn())
|
|
||||||
.append(",")
|
|
||||||
.append("\"status\":").append(status)
|
|
||||||
.append(",")
|
|
||||||
.append("\"helpId\":").append(helpId)
|
|
||||||
.append("}").toString();
|
|
||||||
map.put("data", json);
|
map.put("data", json);
|
||||||
mV2XApiService.manualMarkingTrafficJam(map).subscribeOn(Schedulers.io())
|
mV2XApiService.manualMarkingTrafficJam(map).subscribeOn(Schedulers.io())
|
||||||
.observeOn(AndroidSchedulers.mainThread())
|
.observeOn(AndroidSchedulers.mainThread())
|
||||||
|
|||||||
Reference in New Issue
Block a user