| ... | @@ -70,7 +70,10 @@ domain=pass.sovell.com |
... | @@ -70,7 +70,10 @@ domain=pass.sovell.com |
|
|
1. 发送给某个手机
|
|
1. 发送给某个手机
|
|
|
|
|
|
|
|
```javascript
|
|
```javascript
|
|
|
GET /oauth/v2/code?phone=${phone}&title=${title} HTTP/1.1
|
|
GET /oauth/v2/code?phone=${phone}
|
|
|
|
&title=${title*}
|
|
|
|
&abort={abort*}
|
|
|
|
&phone_conflict={phone_conflict*} HTTP/1.1
|
|
|
Host: ${domain}
|
|
Host: ${domain}
|
|
|
Authorization: Bearer ${token}
|
|
Authorization: Bearer ${token}
|
|
|
```
|
|
```
|
| ... | @@ -82,6 +85,8 @@ domain=pass.sovell.com |
... | @@ -82,6 +85,8 @@ domain=pass.sovell.com |
|
|
|abort||不允许发送条件|
|
|
|abort||不允许发送条件|
|
|
|
||if_exists|存在则不发送|
|
|
||if_exists|存在则不发送|
|
|
|
||if_not_exists|不存在则不发送|
|
|
||if_not_exists|不存在则不发送|
|
|
|
|
|phone_conflict||当使用用户授权token时,如果手机号冲突|
|
|
|
|
||replace|替换,如果原用户有手机号则会替换成新的|
|
|
|
|
|
|
|
|
1. 发送成功后不返回实际内容,HttpStatus=200即为成功
|
|
1. 发送成功后不返回实际内容,HttpStatus=200即为成功
|
|
|
|
|
|
| ... | | ... | |