Get the home page TDK interface

API call address

{域名地址}/api/setting/index

illustrate:{域名地址}You need to replace it with your domain address, such as/api/setting/index

Calling methods

GET

Request parameters

none

Return parameters

Field name type illustrate
code int Error code
msg string Error Cause Description
data object Results content

data result parameters

Field name type illustrate
SeoTitle string Home Page Title
SeoKeywords string Home Page Keywords
SeoDescription string Home page description

Request data example

none

Return to the data example

{
    "code": 0,
    "data": {
        "SeoTitle": "安企内容管理系统(AnqiCMS):一款使用 GoLang 开发的企业站内容管理系统",
        "SeoKeywords": "企业建站系统,内容管理系统,网站安全,安企CMS,anqicms",
        "SeoDescription": "AnqiCMS 除了适合做企业站,也适合做营销型网站、企业官网、商品展示站点、政府网站、门户网站、个人博客等等各种类型的网站。AnqiCMS 是什么,AnqiCMS 是一个可以自由使用并开放源码的内容管理系统,你可以拿 AnqiCMS 来搭建各种不违法的网站。",
    },
    "msg": ""
}

Error code

Error code illustrate
0 OK
-1 Error, the cause of the error is pointed out in msg
1001 Not logged in
1002 Unauthorized
200 API request OK