Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • I imlaixin
  • Project information
    • Project information
    • Activity
    • Members
  • Wiki
    • Wiki
  • Activity
Collapse sidebar
  • docs
  • imlaixin
  • Wiki
  • API文档

API文档 · Changes

Page history
更新 API文档 authored Jun 12, 2022 by Administrator's avatar Administrator
Hide whitespace changes
Inline Side-by-side
API文档.md
View page @ b3b51b99
...@@ -58,6 +58,13 @@ https://yourdoamin.com/msg_get.php ...@@ -58,6 +58,13 @@ https://yourdoamin.com/msg_get.php
[GET/POST]: https://imlaixin.cn/Api/getLeft/data/json?accesskey=xxx&secretkey=yyy [GET/POST]: https://imlaixin.cn/Api/getLeft/data/json?accesskey=xxx&secretkey=yyy
``` ```
- 参数
| 参数 | 必选 | 说明 |
| ---| ---| --- |
| accesskey | Y | 用户接入KEY |
| secretkey | Y | 用户接入密钥 |
- 返回 - 返回
```javascript ```javascript
{"sms_count":"剩余短信的条数","im_count":"剩余来信的条数"} {"sms_count":"剩余短信的条数","im_count":"剩余来信的条数"}
...@@ -65,8 +72,26 @@ https://yourdoamin.com/msg_get.php ...@@ -65,8 +72,26 @@ https://yourdoamin.com/msg_get.php
## 接收状态 ## 接收状态
该接口暂时不予开放
# 国际短信 # 国际短信
- 请求
[GET/POST]: https://imlaixin.cn/Api/send_global?accesskey=xxx&secretkey=yyy&country_code=86&mobile=您的手机号码&content=发送的内容
- 参数
| 参数 | 必选 | 说明 |
| ---| ---| --- |
| country_code | Y | E.164 format 这里注意不要加+号,接口会自动加。如中国为+86,只传86. 但是这别用86测试,因为中国短信都有签名格式,所有国内会收不到信息。
| mobile | Y | 发送的手机号
| content | Y | 发送的内容
- 返回
```javascript
{"result":"返回码,01为成功","msgid":"消息ID","desc":"描述信息"}
```
# 发送邮件 # 发送邮件
# 错误码 # 错误码
\ No newline at end of file
Clone repository
  • API文档
  • _sidebar
  • Home
  • 常见问题
  • 错误码