用户工具

站点工具


站点管理接口

到此差别页面的链接

后一修订版
前一修订版
站点管理接口 [2016/12/23 16:13]
lyy 创建
站点管理接口 [2017/06/01 13:59] (当前版本)
行 23: 行 23:
 {" id":"​1",//​站点id {" id":"​1",//​站点id
 " website_name":"​ 新闻",//​站点名称 " website_name":"​ 新闻",//​站点名称
-" ​is_app":"​0",//​0 ​不是 ​,1是  (是否是APP)+" ​status":"​0",//​0 ​锁定 ​,1正常
  
 },{....}] },{....}]
行 50: 行 50:
 |type|string|是|create(添加) , update(更新)| |type|string|是|create(添加) , update(更新)|
 |website_name|string|是|站点名称| |website_name|string|是|站点名称|
-|is_app|intval|是|0 ​不是 ​,1是  (是否是APP)|+|status|intval|是|0 ​锁定 ​,1正常|
 === 返回值 === === 返回值 ===
 ^ 名称 ​      ^ 类型 ​   ^ 说明 ​                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         ^ ^ 名称 ​      ^ 类型 ​   ^ 说明 ​                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         ^
行 56: 行 56:
 |retMsg |string |操作| |retMsg |string |操作|
 |code |int |错误代码| |code |int |错误代码|
 +
 +===== 3、获取站点详情 =====
 +
 +
 +=== 接口名称 ===
 + /​admin/​website/​show
 +=== 请求方式 ===
 +  post
 +=== 请求参数 ===
 +^ 参数名称 ​     ^ 参数类型 ​   ^ 是否必填 ​ ^ 说明 ​     ^
 +|id|int|是|站点id|
 +
 +=== 返回值 ===
 +^ 名称 ​      ^ 类型 ​   ^ 说明 ​                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         ^
 +|ret |int |获取数据状态 1:成功 0:失败|
 +|retData |josn |站点信息<​code>​
 +{" id":"​1",//​站点id
 +" website_name":"​ 新闻",//​站点名称
 +" status":"​0",//​0 锁定 ,1正常
 +}
 +</​code>​|
 +|code |int |错误代码|
 +
站点管理接口.1482480824.txt.gz · 最后更改: 2017/06/01 13:58 (外部编辑)