[TOC=2,3]
* * * * *
* * * * *
* * * * *
## 1. 案例分類接口
> 案例分類接口
+++
get:/portal/workscaseCategories/index
*string:access_token#訪問Token【Token附加參數,由前端算法生成】
string:ids#新聞分類ids【多個用英文逗號隔開eg:1,2】
int:page#頁數
int:limit#分頁大小【默認10】
string:order#排序規則【默認:+list_order:按照list_order進行升序排序( +升序 -倒序)】
<<<
success
返回示例:
{
"code": 1,
"msg": "請求成功!",
"data": [{
"id": 2,
#分類id
"parent_id": 0,
#分類父id
"post_count": 0,
#分類案例數
"status": 1,
#狀態,1:發布,0:不發布
"delete_time": 0,
#刪除時間
"list_order": 10000,
#排序
"name": "三維動畫",
#分類名稱
"description": "三維動畫",
#分類描述
"path": "0-2",
#分類層級關系路徑
"seo_title": "",
#seo標題
"seo_keywords": "",
#seo
"seo_description": "",
#seo
"more": {
"thumbnail": ""
}
#擴展屬性
},
{
"id": 1,
"parent_id": 0,
"post_count": 0,
"status": 1,
"delete_time": 0,
"list_order": 10000,
"name": "展館數字",
"description": "展館數字",
"path": "0-1",
"seo_title": "展館數字seo",
"seo_keywords": "展館數字seo",
"seo_description": "展館數字seo",
"more": {
"thumbnail": ""
}
}
]
}
<<<
error
返回示例:
{
"code": 0,
"msg": "請求失敗"
}
+++
## 2. 案例列表接口
> 案例列表接口
+++
get:/portal/workscase/index
*string:access_token#訪問Token【Token附加參數,由前端算法生成】
string:ids#分類ids【多個用英文逗號隔開eg:1,2】
int:category_id#分類id
string:post_title#標題【模糊查詢】
string:keyword#標簽【模糊查詢】
string:start_time#發布開始時間【1618995425】
string:end_time#發布結束時間【1618995525】
int:page#頁數
int:limit#分頁大小【默認10】
string:order#排序規則【默認:+list_order:按照list_order進行升序排序( +升序 -倒序)】
<<<
success
返回示例:
{
"code": 1,
"msg": "請求成功!",
"data": {
"list": [{
"id": 2,
"parent_id": 0,
"user_id": 1,
"create_time": 1619513848,
"update_time": 1619589499,
"delete_time": 0,
"post_title": "一個創意的廣告流程",
"post_keywords": "創意,廣告,流程",
"post_description": "一個創意的廣告流程",
"main_photo": "http://cdn.customer.ityangs.cn/FgWkIz4Fbw8xvs6YVP54yveBYxYu.png?e=1620739472&token=N7GGniak5l9SXWc9b5pyjMnlsSIe3lJtvtlcTSoW:oVJNR6mOr6oi_-AwyDM_qlqhkiU=",
"other_photos": [{
"url": "http://cdn.customer.ityangs.cn/FgWkIz4Fbw8xvs6YVP54yveBYxYu.png",
"name": "未命名截圖.png"
},
{
"url": "http://cdn.customer.ityangs.cn/FpOPjPga-gd6yxMCN-MbCaG5CHAJ.png",
"name": "未命名截圖ss.png"
}
],
"thumbnail": "",
"more": null
},
{
"id": 1,
"parent_id": 0,
"user_id": 1,
"create_time": 1619512172,
"update_time": 1619517705,
"delete_time": 0,
"post_title": "一個創意的廣告流程",
"post_keywords": "創意,廣告",
"post_description": "一個創意的廣告流程",
"main_photo": "http://cdn.customer.ityangs.cn/FnKRgYiLk0e6b-brZFMQICDtV4r6.mp4?e=1620739472&token=N7GGniak5l9SXWc9b5pyjMnlsSIe3lJtvtlcTSoW:ZNKkCqhBmJ_cbQWqN5wXmstevao=",
"other_photos": [{
"url": "http://cdn.customer.ityangs.cn/FgWkIz4Fbw8xvs6YVP54yveBYxYu.png",
"name": "未命名截圖.png"
},
{
"url": "http://cdn.customer.ityangs.cn/FpOPjPga-gd6yxMCN-MbCaG5CHAJ.png",
"name": "未命名截圖ss.png"
}
],
"thumbnail": "",
"more": null
}
],
"total": 2
}
}
<<<
error
返回示例:
{
"code": 0,
"msg": "請求失敗"
}
+++