[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": "请求失败"
}
+++