简要描述:
- 测试腾讯云
action
域名 /admin/system/cos
参数:
| 参数名 | 是否必须 | 类型 | 说明 |
|---|---|---|---|
| 以下数据 | 需要加数组 | 如:cos[key] | |
| appid | 是 | int | APPID |
| secretid | 是 | string | SecretID |
| secretkey | 是 | string | SecretKEY |
| bucket | 是 | string | bucket |
| local | 是 | string | bucket所在区域 |
| url | 否 | string | 腾讯云支持用户自定义访问域名。注:url开头加http://或https://结尾不加 ‘/’例:http://abc.com |
返回示例:
正确时返回:
{
"result": 1,
"msg": '配置成功'
"data":[]
错误时返回:
{
"result": 0,
"msg": '配置失败, 腾讯cos访问url错误'
"data": ""
}
备注:
- 更多返回错误代码请看首页的错误代码描述