简要描述:
- 短信设置信息
请求域名:
- http://yunzshop.com
请求URL:
/admin/detail/
参数:
| 参数名 | 是否必须 | 类型 | 说明 |
|---|
返回示例:
正确时返回:
{
result: 1,
msg: "验证成功",
data: {
status: "0",
type: "1",
account: "",
password: "",
account2: "",
password2: "",
appkey: "",
secret: "",
signname: "",
templateCode: "",
product: "",
templateCodeForget: "",
forget: "",
aly_appkey: "",
aly_secret: "",
aly_signname: "",
aly_templateCode: "",
aly_templateCodeForget: ""
}
}
返回参数说明:
| 参数名 | 类型 | 说明 |
|---|---|---|
| status | int | 开启图形验证码 1开启 0关闭 |
| type | int | API类型, 1互亿无线, 2阿里大鱼, 3阿里云 |
| account | string | 国内短信账号(互亿无线) |
| password | string | 国内短信密码(互亿无线) |
| account2 | string | 国际短信账号(互亿无线) |
| password2 | string | 国际短信密码(互亿无线) |
| appkey | string | AppKey(阿里大鱼) |
| secret | string | secret(阿里大鱼) |
| signname | string | 短信签名(阿里大鱼) |
| templateCode | string | 注册短信模板ID(阿里大鱼) |
| templateCodeForget | string | 找回密码短信模板ID(阿里大鱼) |
| product | string | 注册模板变量(阿里大鱼) |
| forget | string | 找回密码变量(阿里大鱼) |
| aly_appkey | string | AccessKeyId(阿里云) |
| aly_secret | string | AccessKeySecret(阿里云) |
| aly_signname | string | 短信签名(阿里云) |
| aly_templateCode | string | 注册模板编号(阿里云) |
| aly_templateCodeForget | string | 找回密码模板编号(阿里云) |
备注:
- 更多返回错误代码请看首页的错误代码描述