puzhibing
2023-09-09 9ef2e272c6ef99d152c5d6afc95af70a3822c57d
DriverIGOTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/api/CarController.java
@@ -117,14 +117,14 @@
    })
    public ResultUtil addCar(Integer modelId, String color, String licensePlate, Date time, String drivingLicenseNumber, String drivingLicensePhoto,
                             String drivingLicenseEndTime, String carPhoto, String insurancePhoto, String commercialInsuranceTime,
                             String peopleAndCarsPhone, HttpServletRequest request,Integer id){
                             String peopleAndCarsPhone, HttpServletRequest request,Integer id, Integer language){
        try {
            Integer uid = driverService.getUserIdFormRedis(request);
            if(null == uid){
                return ResultUtil.tokenErr();
            }
            return carService.addCar(modelId, color, licensePlate, time, drivingLicenseNumber, drivingLicensePhoto, drivingLicenseEndTime, carPhoto, insurancePhoto
                    , commercialInsuranceTime, uid,id, peopleAndCarsPhone);
                    , commercialInsuranceTime, uid,id, peopleAndCarsPhone, language);
        }catch (Exception e){
            e.printStackTrace();
            return ResultUtil.runErr();