---
# System prepended metadata

title: 工作筆記

---

# 工作筆記
## 有兩隻APi 不知道是做什麼的
1. 發送紀錄
http://35.220.154.121:20100/swagger/#/BACKENDAJAX.sms/get_backend_sms_log
2. 發送訊息
http://35.220.154.121:20100/swagger/#/BACKENDAJAX.sms/get_backend_sms_send


## 發送簡訊驗證API
1/30 小溫反應
少了一隻API

目前的發送手機驗證碼API 會去檢查是否手機已經使用過 -> 代表他是更換手機發送手機驗證

看是否要多一個是發送簡訊 但是不檢查手機是否使用過
或是將該流程拆成兩段，提供檢查手機是否重複API 以及發送簡訊API

二階段驗證手機
http://35.220.154.121:20100/swagger/#/MEMBERAJAX.authorize/post_member_authorize_phone
```
{
  "phone": "string",
  "deviceID": "string",
  "platform": 0
}
```

二階段驗證發送簡訊
http://35.220.154.121:20100/swagger/#/MEMBERAJAX.authorize/post_member_authorize_send_sms
```
{
  "phone": "string",
  "deviceID": "string",
  "platform": 0
}
```
二階段驗證
http://35.220.154.121:20100/swagger/#/MEMBERAJAX.authorize/post_member_authorize_second
```
{
  "phone": "string",
  "deviceID": "string",
  "platform": 0,
  "code": "string"
}
```

發送手機驗證碼
http://35.220.154.121:20100/swagger/#/MEMBERAJAX.member/post_member_member_phone
```
{
  "phone": "string"
}
```


驗證驗證碼
http://35.220.154.121:20100/swagger/#/MEMBERAJAX.member/post_member_member_sms
```
{
  "code": "string",
  "secret": "string"
}
```

![](https://i.imgur.com/SiC54z4.png)

