简要描述:

  • 短信设置

请求域名:

  • http://yunzshop.com

请求URL:

/admin/system/sms

参数:

参数名 是否必须 类型 说明
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 找回密码模板编号(阿里云)

返回示例:

正确时返回:


{
	result: 1,
	msg: "短信设置成功",
	data: [ ]
}

返回参数说明:

参数名 类型 说明

备注:

  • 更多返回错误代码请看首页的错误代码描述