From 8643afd959f064779a76e19fc873a448c11b7beb Mon Sep 17 00:00:00 2001
From: puzhibing <393733352@qq.com>
Date: 星期一, 24 七月 2023 18:33:08 +0800
Subject: [PATCH] 更新短信

---
 DriverIGOTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/service/IDriverService.java |   58 ++++++++++++++++++++++++++++++++++++++--------------------
 1 files changed, 38 insertions(+), 20 deletions(-)

diff --git a/DriverIGOTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/service/IDriverService.java b/DriverIGOTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/service/IDriverService.java
index 9d5842c..56a5ea2 100644
--- a/DriverIGOTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/service/IDriverService.java
+++ b/DriverIGOTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/service/IDriverService.java
@@ -18,7 +18,16 @@
      * @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;
 
 
     /**
@@ -35,7 +44,7 @@
      * 司机提交注册申请
      * @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;
 
 
     /**
@@ -48,7 +57,7 @@
      * @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;
 
 
     /**
@@ -66,7 +75,7 @@
      * @return
      * @throws Exception
      */
-    ResultUtil updateDriver(RegisteredWarpper registeredWarpper, Integer uid) throws Exception;
+    ResultUtil updateDriver(RegisteredWarpper registeredWarpper, Integer uid, Integer language) throws Exception;
 
 
 
@@ -78,7 +87,7 @@
      * @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;
 
 
     /**
@@ -87,7 +96,7 @@
      * @return
      * @throws Exception
      */
-    Map<String, Object> queryPhone(String code) throws Exception;
+    Map<String, Object> queryPhone(Double lat, Double lnt) throws Exception;
 
 
     /**
@@ -97,7 +106,7 @@
      * @return
      * @throws Exception
      */
-    ResultUtil<LoginWarpper> driverLogin(String phone, String password) throws Exception;
+    ResultUtil<LoginWarpper> driverLogin(String phone, String password, Integer language) throws Exception;
 
 
     /**
@@ -124,7 +133,7 @@
      * @return
      * @throws Exception
      */
-    ResultUtil work(Integer uid, String type) throws Exception;
+    ResultUtil work(Integer uid, String type, Integer language) throws Exception;
 
 
 
@@ -134,7 +143,7 @@
      * @return
      * @throws Exception
      */
-    ResultUtil work2(Integer uid, String type) throws Exception;
+    ResultUtil work2(Integer uid, String type, Integer language) throws Exception;
 
 
     /**
@@ -143,7 +152,7 @@
      * @return
      * @throws Exception
      */
-    Map<String, Object> queryHomeNum(Integer uid) throws Exception;
+    Map<String, Object> queryHomeNum(Integer uid, Integer language) throws Exception;
 
 
     /**
@@ -152,7 +161,7 @@
      * @return
      * @throws Exception
      */
-    List<BaseWarpper> queryMyBusiness(Integer uid) throws Exception;
+    List<BaseWarpper> queryMyBusiness(Integer uid, Integer language) throws Exception;
 
 
     /**
@@ -172,7 +181,16 @@
      * @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;
 
 
     /**
@@ -190,7 +208,7 @@
      * @param uid
      * @throws Exception
      */
-    void updatePassword(String password, Integer uid) throws Exception;
+    void updatePassword(String password, Integer uid, Integer language) throws Exception;
 
 
     /**
@@ -200,7 +218,7 @@
      * @return
      * @throws Exception
      */
-    ResultUtil replaceCar(Integer carId, Integer uid) throws Exception;
+    ResultUtil replaceCar(Integer carId, Integer uid, Integer language) throws Exception;
 
 
     /**
@@ -282,7 +300,7 @@
      * @param jobNum
      * @return
      */
-    ResultUtil loginByJobNumber(String jobNum);
+    ResultUtil loginByJobNumber(String jobNum, Integer language);
 
 
     /**
@@ -299,7 +317,7 @@
      * @return
      * @throws Exception
      */
-    ResultUtil loginByIdentification(String identification) throws Exception;
+    ResultUtil loginByIdentification(String identification, Integer language) throws Exception;
 
 
     /**
@@ -308,7 +326,7 @@
      * @return
      * @throws Exception
      */
-    ResultUtil loginByTaxiAptitudeCard(String taxiAptitudeCard) throws Exception;
+    ResultUtil loginByTaxiAptitudeCard(String taxiAptitudeCard, Integer language) throws Exception;
 
 
     /**
@@ -325,7 +343,7 @@
      * @return
      * @throws Exception
      */
-    ResultUtil verificationPassword(String password, Integer driverId) throws Exception;
+    ResultUtil verificationPassword(String password, Integer driverId, Integer language) throws Exception;
 
 
     /**
@@ -335,7 +353,7 @@
      * @return
      * @throws Exception
      */
-    ResultUtil setWithdrawPassword(String withdrawPassword, Integer driverId) throws Exception;
+    ResultUtil setWithdrawPassword(String withdrawPassword, Integer driverId, Integer language) throws Exception;
 
 
     /**
@@ -345,7 +363,7 @@
      * @return
      * @throws Exception
      */
-    ResultUtil verificationWithdrawPassword(String withdrawPassword, Integer driverId) throws Exception;
+    ResultUtil verificationWithdrawPassword(String withdrawPassword, Integer driverId, Integer language) throws Exception;
 
 
     /**

--
Gitblit v1.7.1