永久免费观看美女裸体的网站,尤物视频在线观看,亚洲人成网站18禁止人,亚洲欧洲日韩综合色天使,亚洲乱妇亚洲乱妇xinglu

企業(yè)微信服務商
當前位置:首頁文檔APIAPI-網站頁面

API-網站頁面

更新時間:2020-01-06

列表獲取

接口地址

POST?域名/work/page/list/

傳遞參數

參數名 必選 類型 說明 示例
pagetype int 頁面類型 1代表普通頁面,2代表模板類頁面
page int 頁碼 默認1
limit int 每頁顯示條數 默認20

返回值

{
????"code":?200,
????"msg":?"獲取成功",
????"data":?{
????????"data":?[
????????????{
????????????????"_id":?{
????????????????????"$oid":?"59e6ece5c3666e049d21a5f4"
????????????????},
????????????????"siteid":?{
????????????????????"$oid":?"59ae3db6e39acc0395370172"
????????????????},
????????????????"pagetitle":?"頁面-頁面標題up2",
????????????????"pagetype":?"1",
????????????????"sourcecode":?{
????????????????????"pc":?"pcsourcecode",
????????????????????"mobile":?"mobilesourcecode"
????????????????},
????????????????"pageseo":?{
????????????????????"title":?"seotitle",
????????????????????"keywords":?"seokeywords",
????????????????????"description":?"seodescribe",
????????????????????"imgurl":?"seoimgurl"
????????????????},
????????????????"tags":?"tags",
????????????????"state":?1,
????????????????"pagetemplates":?"",
????????????????"url":?"/page_59e6ece5c3666e049d21a5f4.html"
????????????}
????????],
????????"total":?1
????}
}

單條獲取

接口地址

POST?域名/work/page/detail/

傳遞參數

參數名 必選 類型 說明 示例
_id string 唯一標示 59e6ece5c3666e049d21a5f4

返回值

{
????"code":?200,
????"msg":?"獲取成功",
????"data":?{
????????"_id":?{
????????????"$oid":?"59e6ece5c3666e049d21a5f4"
????????},
????????"siteid":?{
????????????"$oid":?"59ae3db6e39acc0395370172"
????????},
????????"pagetitle":?"頁面-頁面標題up2",
????????"pagetype":?"1",
????????"sourcecode":?{
????????????"pc":?"pcsourcecode",
????????????"mobile":?"mobilesourcecode"
????????},
????????"pageseo":?{
????????????"title":?"seotitle",
????????????"keywords":?"seokeywords",
????????????"description":?"seodescribe",
????????????"imgurl":?"seoimgurl"
????????},
????????"tags":?"tags",
????????"state":?1,
????????"pagetemplates":?"",
????????"url":?"/page_59e6ece5c3666e049d21a5f4.html"
????}
}

添加

接口地址

POST?域名/work/page/add/

傳遞參數

參數名 必選 類型 說明 示例
pagetype int 頁面類型 1代表普通頁面,2代表模板類頁面
pagetitle string 頁面標題 ?
pcsourcecode string 電腦端代碼 ?
mobilesourcecode string 移動端代碼 ?
seotitle string title ?
seokeywords string keywords ?
seodescribe string describe ?
seoimgurl string 分享時顯示圖片 ?
pageurl string 頁面訪問url ?
tags string tag 多個英文逗號分隔
pctemplates ? string 電腦版模板的唯一標示 當pagetype為2的時候,必填
mobiletemplates ? string 移動端模板的唯一標示 當pagetype為2的時候,必填

返回值

{
????"code":?200,
????"msg":?"添加成功",
????"data":?"59e80796c3666e03fc0d83e3"
}

更新

接口地址

POST?域名/work/page/update/

傳遞參數

參數名 必選 類型 說明 示例
_id string 唯一標示 ?
pagetype int 頁面類型 1代表普通頁面,2代表模板類頁面
pagetitle string 頁面標題 ?
pcsourcecode string 電腦端代碼 ?
mobilesourcecode string 移動端代碼 ?
seotitle string title ?
seokeywords string keywords ?
seodescribe string describe ?
seoimgurl string 分享時顯示圖片 ?
pageurl string 頁面訪問url ?
tags string tag 多個英文逗號分隔
pctemplates ? string 電腦版模板的唯一標示 當pagetype為2的時候,必填
mobiletemplates ? string 移動端模板的唯一標示 當pagetype為2的時候,必填

返回值

{
????"code":?200,
????"msg":?"更新成功",
????"data":?""
}

刪除

接口地址

POST?域名/work/page/del/

傳遞參數

參數名 必選 類型 說明 示例
_id string 唯一標示 ?

返回值

{
????"code":?200,
????"msg":?"刪除成功",
????"data":?""
}

?