| | |
| | | @Override |
| | | public Map<String, Object> queryPhone(String code) throws Exception { |
| | | Map<String, Object> map = new HashMap<>(); |
| | | if(ToolUtil.isEmpty(code)){ |
| | | map.put("phone","400-995-1700"); |
| | | return map; |
| | | } |
| | | OpenCity openCity = openCityService.openCity1(code); |
| | | Phone phone = phoneMapper.queryInfo(openCity.getId(), 2, 2); |
| | | map.put("phone", null != phone ? phone.getPhone() : ""); |
| | |
| | | } |
| | | } |
| | | //专车业务需要校验 |
| | | if(0 == driver.getIsSynchronous() && type.contains("1")){ |
| | | if(0 == driver.getIsSynchronous() && (type.contains("1") || type.contains("3"))){ |
| | | return ResultUtil.error("请先开通钱包"); |
| | | } |
| | | //判断车辆是否正在使用中 |