1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
| http post:
| http://localhost:8080/api/otp/consultant/sendOtp/{login}
|
|
| response body:
| {
| "indexKey": "7c8c38a2", // 用於帶入otp認證時
| "success": true, // Otp是否有成功發送
| "failCode": "", // "05"為信箱有誤
| // "07"為發送失敗
| // "08"為手機有誤
| // 若為此之外的錯誤代碼,則皆為OTP系統錯誤
| "failReason": ""
| }
|
|
| 若查詢不到任何顧問手機或email資料可以發送則會回傳http status 400
|
|