Initial commit

This commit is contained in:
2025-11-18 03:36:49 +08:00
commit d17c7efb3c
7078 changed files with 831480 additions and 0 deletions

View File

@@ -0,0 +1,45 @@
# SMSSenderService
> 短信发送服务
---
## sendSMS
> 发送短信
- 角色:`admin`
- HTTP`POST https://backend.dooki.cloud/SMSSenderService/sendSMS`
- RPC`rpc sendSMS(SendSMSRequest) returns (SendSMSResponse);`
**请求对象 (`SendSMSRequest`)**
```json
{
"mobile": "string // 手机号",
"body": "string // 内容",
"code": "string // 验证码",
"type": "string // 渠道类型webHook ...",
"paramsJSON": "bytes // 参数"
}
```
**响应对象 (`SendSMSResponse`)**
```json
{
"isOk": "bool // 是否成功",
"result": "string // 发送返回内容,只有失败时才会有数据"
}
```
**调用示例**
```bash
curl -X POST "https://backend.dooki.cloud/SMSSenderService/sendSMS" \
-H "Content-Type: application/json" \
-H "X-Edge-Access-Token: <YOUR_TOKEN>" \
-d '{
...
}'
```
---