获取全局配置参数

请求URL:

  • /config

请求方式:

  • POST

参数:

参数名 必选 类型 说明
appId string

返回示例

{
    "code": 200,
    "msg": "SUCCESS",
    "data": {
        "appId": "aichat-8e7351e-10cfda-4ed66c-db0ios",
        "appUpdateConfig": {
            "control": {
                "isCheck": false
            },
            "appUpdate": {
                "link": "https://apps.apple.com/us/app/candygf-anime-ai-roleplay/id6749531374",
                "force": false,
                "content": "1.Please log in to bind your email address. \n2.Once done, click \"Update Now\" to switch to our backup app. \n3.All of your data will be automatically transferred to the new version.1\n12\n12\n\n32\n3",
                "version": "2.0.9"
            }
        },
        "contactUs": "https://discord.gg/WNTyxU5mHk",
        "fixedMemory": {
            "popUpLimit": 10,
            "freeTry": 10,
            "plusLen": 200,
            "ultraLen": 400,
            "freeLen": 400
        },
        "isChecked": 0
    }
}

返回参数说明

参数名 类型 说明
code int 状态码
msg string 提示信息
data struct 数据
-appId string 当前appId
-contactUs string 联系我们
-appUpdate struct 更新内容
--force bool 否强制用户更新
--link string 更新需要跳转的地址
--version string 更新的版本
--content string 更新的内容
-isChecked int 是否审核期间1:是 0:否
-fixedMemory struct 固定记忆配置
--popUpLimit int 订阅用户弹窗弹出的聊天数限制
--freeTry int 非订阅用户试用聊天数限制
--plusLen int PLUS用户固定记忆长度
--ultraLen int ULTRA用户固定记忆长度
--freeLen int 用户试用固定记忆长度

备注

2021 © Live all right reserved,powered by Gitbook该文件修订时间: 2026-08-17 15:55:05

results matching ""

    No results matching ""