yanghb
2023-04-06 f102474347c9cb3a50f7c420a738f63967a06afd
名称调整
1个文件已修改
6 ■■■■■ 已修改文件
UserTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/api/ServerCarModelController.java 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
UserTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/api/ServerCarModelController.java
@@ -1,6 +1,7 @@
package com.stylefeng.guns.modular.api;
import com.alibaba.fastjson.JSON;
import com.stylefeng.guns.modular.system.service.IServerCarModelService;
import com.stylefeng.guns.modular.system.util.ResultUtil;
import com.stylefeng.guns.modular.system.warpper.ServerCarModelWarpper;
@@ -42,10 +43,11 @@
            @ApiImplicitParam(value = "终点经纬度(103.22121,,30.26123)", name = "endLonLat", required = true, dataType = "string"),
            @ApiImplicitParam(value = "业务类型(1=专车/快车,2=出租车,3=机场专线,7=景区直通车,8=公务出行)", name = "type", required = true, dataType = "int")
    })
    public ResultUtil<List<ServerCarModelWarpper>> queryServerCarModel(String startLonLat, String endLonLat, Integer type){
    public ResultUtil<List<ServerCarModelWarpper>> queryServerCarModel(String startLonLat, String endLonLat, Integer type) {
        try {
            System.out.println("【选择起点终点后获取车型和预估价格】,startLonLat:" + startLonLat + ",endLonLat:" + endLonLat + ",type:" + type);
            return serverCarModelService.queryServerCarModel(startLonLat, endLonLat, type);
        }catch (Exception e){
        } catch (Exception e) {
            e.printStackTrace();
            return ResultUtil.runErr();
        }