API Call Address
{域名地址}/api/setting/index
Description:{域名地址}Need to replace it with your domain address, such ashttps://en.anqicms.com/api/setting/index
Calling method
GET
Request parameters
None
Return parameters
| Field name | Type | Description |
|---|---|---|
| code | int | error code |
| msg | string | error reason description |
| data | object | result content |
data result parameters
| Field name | Type | Description |
|---|---|---|
| SeoTitle | string | Home Page Title |
| SeoKeywords | string | Home Page Keywords |
| SEO Description | string | Home Description |
request data example
None
Return Data Example
{
"code": 0,
"data": {
"SeoTitle": "安企内容管理系统(AnqiCMS):一款使用 GoLang 开发的企业站内容管理系统",
"SeoKeywords": "企业建站系统,内容管理系统,网站安全,安企CMS,anqicms",
"SeoDescription": "AnqiCMS 除了适合做企业站,也适合做营销型网站、企业官网、商品展示站点、政府网站、门户网站、个人博客等等各种类型的网站。AnqiCMS 是什么,AnqiCMS 是一个可以自由使用并开放源码的内容管理系统,你可以拿 AnqiCMS 来搭建各种不违法的网站。"
},
"msg": ""
}
Error Code
| error code | Description |
|---|---|
| 0 | OK |
| -1 | Error, the reason is indicated in the msg |
| 1001 | Not logged in |
| 1002 | Unauthorized |
| 200 | API request OK |