后台IM通信


获取第三方配置信息

请求URL
  • http://xx.com/config/getThirdParty
Headers
  • token
请求方式
  • GET
参数
参数名 必选 类型 说明
key string 开关列表的key值
返回示例
{
    "error_code": 0,
    "msg": "success",
    "data": [
        {
            "id": 2,
            "cate": "oss",
            "title": "阿里云oss存储",//标题
            "key": "ali_oss",
            "open": true,//开关状态:true 启用,false 禁用
            "value": {//配置项的键跟值
                "bucket": "tangfen",
                "endpoint": "oss-cn-hangzhou.aliyuncs.com",
                "accessKeyId": "LTAI5tEcq1CgCNPbAqMzCxnY",
                "accessKeySecret": "GrO0wZwQJnGaFnv7SzA1WQqjYg9X5a"
            },
            "operator": {
                "username": "超管2",//操作者昵称
                "id": 406,
                "phone": "18735584896"//操作者手机
            },
            "created_at": "2021-12-01 16:21:33",
            "updated_at": "2021-12-01 16:21:33"
        },
        {
            "id": 10,
            "cate": "oss",
            "title": "腾讯云存储",
            "key": "tencent_oss",
            "open": false,
            "value": {
                "appId": "1257723087",
                "Bucket": "tangfen-1257723087",
                "region": "ap-guangzhou",
                "secretId": "AKIDRijV0EBsISLyLRGn44nFQKxIODn8ByUj",
                "secretKey": "zh8JDqCXfV5OQBgurX5NO8bokPnulLei"
            },
            "operator": {
                "username": "超管2",
                "id": 406,
                "phone": "18735584896"
            },
            "created_at": "2021-12-03 15:08:58",
            "updated_at": "2021-12-03 15:08:59"
        }
    ]
}
返回参数说明
参数名 类型 说明
error_code int 0成功
msg string ok
备注
  • 更多返回错误代码请看首页的错误代码描述

页面列表

ITEM_HTML