站点设置接口

接口名称:获取站点信息

接口地址:/openapi/template/site_info

请求方式:GET

请求参数:无

响应结果:

200 成功

{
    "Logo": "",
    "Icon": "",
    "Name": "",
    "SiteURL": "",
    "Title": "",
    "nums": {
        "starListNum": 0,
        "starRecommendNum": 0,
        "homeNUm": 0,
        "vodListNum": 0,
        "vodRecommendNum": 0,
        "vodHotNum": 0,
        "vodLastNum": 0,
        "vodGuessNum": 0,
        "vodAlbumNum": 0,
        "vodStarNum": 0,
        "vodCateCmdNum": 0,
        "articleListNum": 0,
        "articleCmdNum": 0,
        "articleHotNum": 0,
        "articleLatestNum": 0,
        "articleGuessLikeNum": 0,
        "articleCateCmdNum": 0
    },
    "h5Nums": {
        "starListNum": 0,
        "starRecommendNum": 0,
        "homeNUm": 0,
        "vodListNum": 0,
        "vodRecommendNum": 0,
        "vodHotNum": 0,
        "vodLastNum": 0,
        "vodGuessNum": 0,
        "vodAlbumNum": 0,
        "vodStarNum": 0,
        "vodCateCmdNum": 0,
        "articleListNum": 0,
        "articleCmdNum": 0,
        "articleHotNum": 0,
        "articleLatestNum": 0,
        "articleGuessLikeNum": 0,
        "articleCateCmdNum": 0
    },
    "info": {
        "id": 0,
        "name": "",
        "domain": "",
        "logo": "",
        "icon": "",
        "runMode": "",
        "openCache": false,
        "cacheTime": 0,
        "state": 0,
        "QQ": "",
        "wechat": "",
        "email": "",
        "telegraph": "",
        "closeReason": "",
        "note": "",
        "region": "",
        "language": "",
        "label": "",
        "year": "",
        "statisticalCode": "",
        "createAt": 0,
        "updateAt": 0,
        "visitor": 0,
        "agent": false,
        "gzip": 0,
        "gzip_level": 0,
        "apkDownTotal": 0,
        "iosDownTotal": 0,
        "customerVisitor": false,
        "sort": 0,
        "messageBoardStatus": 0,
        "pluginSwitch": 0,
        "icp": "",
        "parentId": 0,
        "domains": null,
        "securityChain": 0,
        "referAllowBlank": 0
    },
    "webPath": "",
    "h5Path": "",
    "commentConfig": {
        "open": null,
        "needLogin": null
    },
    "emailOpen": false,
    "smsOpen": false,
    "memberOpen": false,
    "customerOpen": false,
    "messageBoardOpen": false,
    "rewriteOpen": false,
    "seoKey": {
        "indexKey": "",
        "vodList": "",
        "vodDetail": "",
        "vodPlay": "",
        "search": "",
        "celebrityDetail": "",
        "albumList": "",
        "albumDetail": "",
        "vodIndex": "",
        "celebrityIndex": "",
        "celebrityList": "",
        "articlesIndex": "",
        "articlesList": "",
        "articlesDetail": "",
        "album": ""
    },
    "defaultIndex": "",
    "app": {
        "Ios": {
            "Url": "",
            "Icon": "",
            "Name": ""
        },
        "Android": ""
    },
    "Sid": 0,
    "Pid": 0,
    "UToken": "",
    "ICP": "",
    "MemberPath": "",
    "TryWatchConfig": {
        "id": 0,
        "open": null,
        "type": null,
        "episodes": 0,
        "duration": 0,
        "createAt": 0,
        "updateAt": 0,
        "siteId": 0
    },
    "Seo": null,
    "Share": {
        "domains": null,
        "title": "",
        "content": "",
        "shareDomain": ""
    }
}

400 失败

{
    "module": "",
    "statusCode": 0,
    "message": ""
}

401 没有权限

{
    "module": "",
    "statusCode": 0,
    "message": ""
}

403 token失效

{
    "module": "",
    "statusCode": 0,
    "message": ""
}

results matching ""

    No results matching ""