Commit 0fad3c14 authored by linfeng's avatar linfeng

租车价格日历修改

parent e743e5e1
...@@ -524,8 +524,8 @@ public class CarDetailActivity extends BaseStatusActivity<CommonPresenter> { ...@@ -524,8 +524,8 @@ public class CarDetailActivity extends BaseStatusActivity<CommonPresenter> {
if (OkGoUtil.getToken() != null) if (OkGoUtil.getToken() != null)
headMap.put("Authorization", OkGoUtil.getToken()); headMap.put("Authorization", OkGoUtil.getToken());
Map<String, Object> map = new LinkedHashMap<>(); Map<String, Object> map = new LinkedHashMap<>();
map.put("start", DateUtils.formatDate16(begDate)); map.put("start", begDate);
map.put("end", DateUtils.formatDate16(endDate)); map.put("end", endDate);
mPresenter.getData(RvFrameConfig.HOST, 2, ApiConfig.HTTP_URL_CALENDAR_PRICE + mCarBean.getVehicleModel().getId(), CarRentalPriceBean.class, map, headMap, false); mPresenter.getData(RvFrameConfig.HOST, 2, ApiConfig.HTTP_URL_CALENDAR_PRICE + mCarBean.getVehicleModel().getId(), CarRentalPriceBean.class, map, headMap, false);
} }
} }
......
...@@ -284,8 +284,8 @@ public class CarRentalListActivity extends BaseStatusActivity<CommonPresenter> i ...@@ -284,8 +284,8 @@ public class CarRentalListActivity extends BaseStatusActivity<CommonPresenter> i
if (OkGoUtil.getToken() != null) if (OkGoUtil.getToken() != null)
headMap.put("Authorization", OkGoUtil.getToken()); headMap.put("Authorization", OkGoUtil.getToken());
Map<String, Object> map = new LinkedHashMap<>(); Map<String, Object> map = new LinkedHashMap<>();
map.put("start", DateUtils.formatDate16(begDate)); map.put("start", begDate);
map.put("end", DateUtils.formatDate16(endDate)); map.put("end",endDate);
mPresenter.getData(RvFrameConfig.HOST, 2, ApiConfig.HTTP_URL_CALENDAR_PRICE + id, CarRentalPriceBean.class, map, headMap, true); mPresenter.getData(RvFrameConfig.HOST, 2, ApiConfig.HTTP_URL_CALENDAR_PRICE + id, CarRentalPriceBean.class, map, headMap, true);
} }
......
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 to comment