| | |
| | | * @param phone |
| | | * @return |
| | | */ |
| | | ResultUtil queryCaptcha(String phone, Integer type) throws Exception; |
| | | ResultUtil queryCaptcha(String phone, Integer type, Integer language) throws Exception; |
| | | |
| | | |
| | | /** |
| | | * 获取邮件验证码 |
| | | * @param email |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | ResultUtil queryEmailCaptcha(String email, Integer language) throws Exception; |
| | | |
| | | |
| | | /** |
| | |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | boolean checkCaptcha(String phone, String code) throws Exception; |
| | | boolean checkCaptcha(String email, String phone, String code) throws Exception; |
| | | |
| | | |
| | | /** |
| | | * 司机提交注册申请 |
| | | * @throws Exception |
| | | */ |
| | | ResultUtil registeredDriver(String phone, String code, String password, Integer uid, Integer type, Integer userType) throws Exception; |
| | | ResultUtil registeredDriver(String phoneOperator, String phone, String code, String password, Integer uid, Integer type, Integer userType, Integer language) throws Exception; |
| | | |
| | | |
| | | |
| | | ResultUtil registeredDriver1(String phoneOperator, String phone, String code, String password, Integer uid, Integer type, Integer userType, Integer language) throws Exception; |
| | | |
| | | |
| | | |
| | | /** |
| | |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | ResultUtil<LoginWarpper> registeredDriver(String phone, String code, String password,Integer uid,Integer uType) throws Exception; |
| | | ResultUtil<LoginWarpper> registeredDriver(String phoneOperator, String phone, String code, String password,Integer uid,Integer uType, Integer language) throws Exception; |
| | | |
| | | |
| | | /** |
| | |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | ResultUtil updateDriver(RegisteredWarpper registeredWarpper, Integer uid) throws Exception; |
| | | ResultUtil updateDriver(RegisteredWarpper registeredWarpper, Integer uid, Integer language) throws Exception; |
| | | |
| | | |
| | | |
| | |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | ResultUtil resetPassword(String phone, String code, String password) throws Exception; |
| | | ResultUtil resetPassword(String phone, String code, String password, Integer language) throws Exception; |
| | | |
| | | |
| | | /** |
| | |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | Map<String, Object> queryPhone(String code) throws Exception; |
| | | Map<String, Object> queryPhone(Double lat, Double lnt) throws Exception; |
| | | |
| | | |
| | | /** |
| | |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | ResultUtil<LoginWarpper> driverLogin(String phone, String password) throws Exception; |
| | | ResultUtil<LoginWarpper> driverLogin(String phone, String password, Integer language) throws Exception; |
| | | |
| | | |
| | | /** |
| | |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | Map<String, Object> queryHomeData(Integer uid) throws Exception; |
| | | Map<String, Object> queryHomeData(Integer uid, Integer language) throws Exception; |
| | | |
| | | |
| | | /** |
| | |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | ResultUtil work(Integer uid, String type) throws Exception; |
| | | ResultUtil work(Integer uid, String type, Integer language) throws Exception; |
| | | |
| | | |
| | | |
| | |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | ResultUtil work2(Integer uid, String type) throws Exception; |
| | | ResultUtil work2(Integer uid, String type, Integer language) throws Exception; |
| | | |
| | | |
| | | /** |
| | |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | Map<String, Object> queryHomeNum(Integer uid) throws Exception; |
| | | Map<String, Object> queryHomeNum(Integer uid, Integer language) throws Exception; |
| | | |
| | | |
| | | /** |
| | |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | List<BaseWarpper> queryMyBusiness(Integer uid) throws Exception; |
| | | List<BaseWarpper> queryMyBusiness(Integer uid, Integer language) throws Exception; |
| | | |
| | | |
| | | /** |
| | |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | Map<String, Object> queryInfo(Integer uid) throws Exception; |
| | | Map<String, Object> queryInfo(Integer language, Integer uid) throws Exception; |
| | | |
| | | |
| | | /** |
| | |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | ResultUtil updatePhone(String phone, String code, Integer uid) throws Exception; |
| | | ResultUtil updatePhone(String phoneOperator, String phone, String code, Integer uid, Integer language) throws Exception; |
| | | |
| | | |
| | | /** |
| | | * 修改语言设置 |
| | | * @param language |
| | | * @param uid |
| | | * @throws Exception |
| | | */ |
| | | void editLanguage(Integer language, Integer uid) throws Exception; |
| | | |
| | | |
| | | /** |
| | |
| | | * @param uid |
| | | * @throws Exception |
| | | */ |
| | | void updatePassword(String password, Integer uid) throws Exception; |
| | | void updatePassword(String password, Integer uid, Integer language) throws Exception; |
| | | |
| | | |
| | | /** |
| | |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | ResultUtil replaceCar(Integer carId, Integer uid) throws Exception; |
| | | ResultUtil replaceCar(Integer carId, Integer uid, Integer language) throws Exception; |
| | | |
| | | |
| | | /** |
| | |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | List<Map<String, Object>> queryPenalties(Integer pageNum, Integer size, Integer uid) throws Exception; |
| | | List<Map<String, Object>> queryPenalties(Integer language, Integer pageNum, Integer size, Integer uid) throws Exception; |
| | | |
| | | |
| | | /** |
| | | * 获取活动奖励列表 |
| | | * 获取列表 |
| | | * @param uid |
| | | * @param pageNum |
| | | * @param size |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | List<Map<String, Object>> queryActivityIncome(Integer uid, Integer pageNum, Integer size) throws Exception; |
| | | List<Map<String, Object>> queryActivityIncome(Integer language, Integer uid, Integer pageNum, Integer size) throws Exception; |
| | | |
| | | |
| | | /** |
| | |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | List<Map<String, Object>> queryTotalRevenue(Integer uid, Integer pageNum, Integer size) throws Exception; |
| | | List<Map<String, Object>> queryTotalRevenue(Integer language, Integer uid, Integer pageNum, Integer size) throws Exception; |
| | | |
| | | |
| | | /** |
| | |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | List<ActivityWarpper> queryMyActivity(Integer uid, Date time) throws Exception; |
| | | |
| | | List<ActivityWarpper> queryMyActivity(Integer uid, Date time, Integer language) throws Exception; |
| | | |
| | | |
| | | List<ActivityWarpper> queryHistoryList(Integer uid, Date time, Integer language) throws Exception; |
| | | |
| | | |
| | | /** |
| | | * 获取历史活动 |
| | |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | List<Map<String, Object>> queryHistory(Integer uid, Integer pageNum, Integer size) throws Exception; |
| | | List<Map<String, Object>> queryHistory(Integer language, Integer uid, Integer pageNum, Integer size) throws Exception; |
| | | |
| | | |
| | | /** |
| | |
| | | * @param jobNum |
| | | * @return |
| | | */ |
| | | ResultUtil loginByJobNumber(String jobNum); |
| | | ResultUtil loginByJobNumber(String jobNum, Integer language); |
| | | |
| | | |
| | | /** |
| | |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | ResultUtil loginByIdentification(String identification) throws Exception; |
| | | ResultUtil loginByIdentification(String identification, Integer language) throws Exception; |
| | | |
| | | |
| | | /** |
| | |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | ResultUtil loginByTaxiAptitudeCard(String taxiAptitudeCard) throws Exception; |
| | | ResultUtil loginByTaxiAptitudeCard(String taxiAptitudeCard, Integer language) throws Exception; |
| | | |
| | | |
| | | /** |
| | |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | ResultUtil verificationPassword(String password, Integer driverId) throws Exception; |
| | | ResultUtil verificationPassword(String password, Integer driverId, Integer language) throws Exception; |
| | | |
| | | |
| | | /** |
| | |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | ResultUtil setWithdrawPassword(String withdrawPassword, Integer driverId) throws Exception; |
| | | ResultUtil setWithdrawPassword(String withdrawPassword, Integer driverId, Integer language) throws Exception; |
| | | |
| | | |
| | | /** |
| | |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | ResultUtil verificationWithdrawPassword(String withdrawPassword, Integer driverId) throws Exception; |
| | | ResultUtil verificationWithdrawPassword(String withdrawPassword, Integer driverId, Integer language) throws Exception; |
| | | |
| | | |
| | | /** |
| | |
| | | * @param size |
| | | * @return java.util.List<Map<String,Object>> |
| | | */ |
| | | List<Map<String,Object>> queryMyInviteList(Integer type,Integer uid, Integer pageNum, Integer size) throws Exception; |
| | | List<Map<String,Object>> queryMyInviteList(Integer language, Integer type,Integer uid, Integer pageNum, Integer size) throws Exception; |
| | | |
| | | /** |
| | | * |
| | |
| | | * @return |
| | | */ |
| | | Double getThisWeekMoney(@Param("driverId") Integer driverId); |
| | | |
| | | |
| | | /** |
| | | * 获取给定车型且空闲的司机 |
| | | * @param type |
| | | * @param serverCarModelId |
| | | * @param lon |
| | | * @param lat |
| | | * @param distance |
| | | * @param companyId |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | List<Driver> queryIdleDriver(Integer userId, Integer type, Integer serverCarModelId, Double lon, Double lat, Double distance, Integer companyId) throws Exception; |
| | | } |