获取全局配置参数

请求URL:

  • /config

请求方式:

  • POST

参数:

参数名 必选 类型 说明
appId string

返回示例

{
    "code": 200,
    "msg": "SUCCESS",
    "data": {
        "appId": "ai-clean-master-10cfda-4ed66c-db0f7b",
        "appUpdateConfig": {
            "control": {
                "isCheck": true
            },
            "appUpdate": {
                "link": "https://www.baidu.com/",
                "force": false,
                "content": "fix bugs...\nadoqndfnjqj12132848123414121 😊           \n请问放弃我发疯啊师傅说的     ;,‘/,/,。’",
                "version": "0.0.9"
            }
        },
        "contactUs": "https://discord.gg/hHCqMp8Bg4"
    }
}

返回参数说明

参数名 类型 说明
code int 状态码
msg string 提示信息
data struct 数据
-appId string 当前appId
-contactUs string 联系我们
-appUpdate struct 更新内容
--force bool 否强制用户更新
--link string 更新需要跳转的地址
--version string 更新的版本
--content string 更新的内容

备注

2021 © Live all right reserved,powered by Gitbook该文件修订时间: 2025-06-05 16:25:20

results matching ""

    No results matching ""