/** * 登录-验证user与code是否一致 * * @param mobile * @param token * @return */ @RequestMapping( value = "/verifyAuthor", method = {RequestMethod.GET}) @ResponseBody public MobileHttpDto verifyAuthor( @RequestParam String mobile, @RequestParam String verifyCode, @RequestParam String token) { MobileHttpDto dto = new MobileHttpDto(); dto.setBody(new Driver()); return dto; }
/** * 请求可选车辆 * * @param mobile * @param token * @return */ @RequestMapping( value = "/acquireCar", method = {RequestMethod.GET}) @ResponseBody public MobileHttpDto acquireCar( @RequestParam String token, @RequestParam int driverid, HttpServletRequest request) { MobileHttpDto dto = new MobileHttpDto(); List<Car> lstCar = new ArrayList<Car>(); dto.setBody(lstCar); return dto; }
/** * 获取已结单列表 * * @param mobile * @param token * @return */ @RequestMapping( value = "/acquireOrderHistory", method = {RequestMethod.GET}) @ResponseBody public MobileHttpDto acquireOrderHistory( @RequestParam String token, @RequestParam int userid, int pageNum, int pageSize) { List<Order> lstOrder = new ArrayList<Order>(); MobileHttpDto dto = new MobileHttpDto(); dto.setBody(lstOrder); return dto; }