|
|
|
@@ -36,11 +36,11 @@ public class TtWebPoiPlanServiceImpl implements TtWebPoiPlanService { |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public Integer poiPlanSave(PoiPlan poiPlan) throws WxErrorException { |
|
|
|
public Long poiPlanSave(PoiPlan poiPlan) throws WxErrorException { |
|
|
|
final TtWebPostRequestExecutor executor = new TtWebPostRequestExecutor(this.service.getRequestHttp()); |
|
|
|
String result = this.service.execute(executor, this.POI_COMMON_PLAN_SAVE, GSON.toJson(poiPlan)); |
|
|
|
JSONObject jsonObject = JSONObject.parseObject(result); |
|
|
|
return jsonObject.getInteger("plan_id"); |
|
|
|
return jsonObject.getLong("plan_id"); |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
|