获取页面分组
- 请求地址 域名/api/page/groups
- 是否需要授权 否
无
{
"code":1,
"msg":"",
"time":1630133833,
"data": [
{
"id": 1,
"group_name": "about",
"group": "关于",
"sort": 99,
"use_template": 0
},
{
"id": 2,
"group_name": "联系",
"group": "contact",
"sort": 99,
"use_template": 0
}
]
}
获取页面分组
- 请求地址 域名/api/page/pages
- 是否需要授权 否
- group 指定分组,可留空
{
"code":1,
"msg":"",
"time":1630133833,
"data": [
{
"id": 1,
"lang": null,
"main_id": null,
"title": "公司简介",
"vice_title": "简介",
"group": "关于",
"icon": "",
"image": "",
"name": "profile",
"sort": 0,
"status": 1,
"use_template": 0,
"content": "<p>企业简介<\/p>"
},
...
]
}
获取页面分组
- 请求地址 域名/api/page/page
- 是否需要授权 否
- name 指定页面标识或id
{
"code":1,
"msg":"",
"time":1630133833,
"data": {
"page":{
"id": 1,
"lang": null,
"main_id": null,
"title": "公司简介",
"vice_title": "简介",
"group": "关于",
"icon": "",
"image": "",
"name": "profile",
"sort": 0,
"status": 1,
"use_template": 0,
"content": "<p>企业简介<\/p>"
},
"images":[ ]
}
}