GET
简要描述:
- 视频列表
请求域名 :
请求url:
route=member.shopvideo.getMyvideoList
参数:
参数名 | 是否必须 | 说明 |
---|---|---|
shop_id | 是 | 店铺id |
page | 否 | 分页 |
返回示例:
正确时返回:
{
"result": 1,
"msg": "list",
"data": {
"listtemp": {
"total": 10,
"per_page": 20,
"current_page": 1,
"last_page": 1,
"next_page_url": null,
"prev_page_url": null,
"from": 1,
"to": 10,
"data": [
{
"id": 63,
"uniacid": 4,
"store_id": 96,
"status": 0,
"title": "五一全国1.15亿人次出游",
"thumb": "https://cdn.we7.miotchina.com/videos/0/2020/04/01efce738eab0613a8f1a355394837ae.mp4",
"description": "五一全国1.15亿人次出游",
"is_recommand": 1,
"is_deleted": 0,
"created_at": 1588745709,
"deleted_at": null,
"updated_at": 1588746128,
"sort": null,
"ctr": null,
"uid": 1896,
"created_at_str": "2020-05-06 14:15:09",
"deleted_at_str": "1970-01-01 08:00:00",
"updated_at_str": "2020-05-06 14:22:08",
"uidstr": "pumpkin胖胖"
},
{
"id": 64,
"uniacid": 4,
"store_id": 96,
"status": 1,
"title": "隧道下车放三角牌被追尾",
"thumb": "https://cdn.we7.miotchina.com/videos/0/2020/04/1b615f834d249b6223d3412e4ff76176.mp4",
"description": "隧道下车放三角牌被追尾",
"is_recommand": 1,
"is_deleted": 0,
"created_at": 1588745784,
"deleted_at": null,
"updated_at": 1588745784,
"sort": null,
"ctr": 2,
"uid": 1896,
"created_at_str": "2020-05-06 14:16:24",
"deleted_at_str": "1970-01-01 08:00:00",
"updated_at_str": "2020-05-06 14:16:24",
"uidstr": "pumpkin胖胖"
},
{
"id": 65,
"uniacid": 4,
"store_id": 96,
"status": 1,
"title": "美国新冠肺炎超120万例",
"thumb": "https://cdn.we7.miotchina.com/videos/0/2020/04/1b615f834d249b6223d3412e4ff76176.mp4",
"description": "美国新冠肺炎超120万例",
"is_recommand": 0,
"is_deleted": 0,
"created_at": 1588745798,
"deleted_at": null,
"updated_at": 1588745798,
"sort": null,
"ctr": null,
"uid": 1896,
"created_at_str": "2020-05-06 14:16:38",
"deleted_at_str": "1970-01-01 08:00:00",
"updated_at_str": "2020-05-06 14:16:38",
"uidstr": "pumpkin胖胖"
},
{
"id": 66,
"uniacid": 4,
"store_id": 96,
"status": 1,
"title": "养牛场意外挖出深洞",
"thumb": "https://cdn.we7.miotchina.com/videos/0/2020/04/1b615f834d249b6223d3412e4ff76176.mp4",
"description": "",
"is_recommand": 0,
"is_deleted": 0,
"created_at": 1588745814,
"deleted_at": null,
"updated_at": 1588745814,
"sort": null,
"ctr": null,
"uid": 1896,
"created_at_str": "2020-05-06 14:16:54",
"deleted_at_str": "1970-01-01 08:00:00",
"updated_at_str": "2020-05-06 14:16:54",
"uidstr": "pumpkin胖胖"
},
{
"id": 67,
"uniacid": 4,
"store_id": 96,
"status": 1,
"title": "跳桥轻生多人下河救援",
"thumb": "https://cdn.we7.miotchina.com/videos/0/2020/04/1b615f834d249b6223d3412e4ff76176.mp4",
"description": "",
"is_recommand": 1,
"is_deleted": 0,
"created_at": 1588745918,
"deleted_at": null,
"updated_at": 1588745918,
"sort": null,
"ctr": null,
"uid": 1896,
"created_at_str": "2020-05-06 14:18:38",
"deleted_at_str": "1970-01-01 08:00:00",
"updated_at_str": "2020-05-06 14:18:38",
"uidstr": "pumpkin胖胖"
},
{
"id": 68,
"uniacid": 4,
"store_id": 96,
"status": 1,
"title": "回应今年两次发射失利",
"thumb": "https://cdn.we7.miotchina.com/videos/0/2020/04/1b615f834d249b6223d3412e4ff76176.mp4",
"description": "",
"is_recommand": 1,
"is_deleted": 0,
"created_at": 1588745933,
"deleted_at": null,
"updated_at": 1588745933,
"sort": null,
"ctr": null,
"uid": 1896,
"created_at_str": "2020-05-06 14:18:53",
"deleted_at_str": "1970-01-01 08:00:00",
"updated_at_str": "2020-05-06 14:18:53",
"uidstr": "pumpkin胖胖"
},
{
"id": 69,
"uniacid": 4,
"store_id": 96,
"status": 1,
"title": "武汉长江大桥桥面设施受损",
"thumb": "https://cdn.we7.miotchina.com/videos/0/2020/04/1b615f834d249b6223d3412e4ff76176.mp4",
"description": "",
"is_recommand": 1,
"is_deleted": 0,
"created_at": 1588745957,
"deleted_at": null,
"updated_at": 1588745957,
"sort": null,
"ctr": null,
"uid": 1896,
"created_at_str": "2020-05-06 14:19:17",
"deleted_at_str": "1970-01-01 08:00:00",
"updated_at_str": "2020-05-06 14:19:17",
"uidstr": "pumpkin胖胖"
},
{
"id": 70,
"uniacid": 4,
"store_id": 96,
"status": 1,
"title": "村民种1428株罂粟称喂鹅",
"thumb": "https://cdn.we7.miotchina.com/videos/0/2020/04/1b615f834d249b6223d3412e4ff76176.mp4",
"description": "",
"is_recommand": 1,
"is_deleted": 0,
"created_at": 1588745969,
"deleted_at": null,
"updated_at": 1588745969,
"sort": null,
"ctr": null,
"uid": 1896,
"created_at_str": "2020-05-06 14:19:29",
"deleted_at_str": "1970-01-01 08:00:00",
"updated_at_str": "2020-05-06 14:19:29",
"uidstr": "pumpkin胖胖"
},
{
"id": 73,
"uniacid": 4,
"store_id": 96,
"status": 0,
"title": "什么鬼aaaaaaa",
"thumb": "https://cdn.we7.miotchina.com/videos/0/2020/04/f11e73d21d699a2fcbde0da1a6c22517.mp4",
"description": "wo de shiping sdfsdafsadfadf",
"is_recommand": 1,
"is_deleted": 0,
"created_at": 1588818044,
"deleted_at": null,
"updated_at": 1588818044,
"sort": null,
"ctr": null,
"uid": 1905,
"created_at_str": "2020-05-07 10:20:44",
"deleted_at_str": "1970-01-01 08:00:00",
"updated_at_str": "2020-05-07 10:20:44",
"uidstr": "Jun"
},
{
"id": 74,
"uniacid": 4,
"store_id": 96,
"status": 1,
"title": "什么鬼aaaaaaa",
"thumb": "https://cdn.we7.miotchina.com/videos/0/2020/04/f11e73d21d699a2fcbde0da1a6c22517.mp4",
"description": "wo de shiping sdfsdafsadfadf",
"is_recommand": 1,
"is_deleted": 0,
"created_at": 1588818748,
"deleted_at": null,
"updated_at": 1588819727,
"sort": null,
"ctr": null,
"uid": 1905,
"created_at_str": "2020-05-07 10:32:28",
"deleted_at_str": "1970-01-01 08:00:00",
"updated_at_str": "2020-05-07 10:48:47",
"uidstr": "Jun"
}
]
}
}
}
错误时返回:
- 缺少访问参数 - *
{
"result": 0,
"msg": "店铺id为空!",
"data": []
}
简要描述:
- 视频列表
请求域名 :
请求url:
route=member.shopvideo.getMyvideorecommendList
参数:
参数名 | 是否必须 | 说明 |
---|---|---|
shop_id | 是 | 店铺id |
返回示例:
正确时返回:
{
"result": 1,
"msg": "recommend list",
"data": {
"list": [
{
"id": 63,
"uniacid": 4,
"store_id": 96,
"status": 0,
"title": "五一全国1.15亿人次出游",
"thumb": "https://cdn.we7.miotchina.com/videos/0/2020/04/01efce738eab0613a8f1a355394837ae.mp4",
"description": "五一全国1.15亿人次出游",
"is_recommand": 1,
"is_deleted": 0,
"created_at": 1588745709,
"deleted_at": null,
"updated_at": 1588746128,
"sort": null,
"ctr": null,
"uid": 1896
},
{
"id": 64,
"uniacid": 4,
"store_id": 96,
"status": 1,
"title": "隧道下车放三角牌被追尾",
"thumb": "https://cdn.we7.miotchina.com/videos/0/2020/04/1b615f834d249b6223d3412e4ff76176.mp4",
"description": "隧道下车放三角牌被追尾",
"is_recommand": 1,
"is_deleted": 0,
"created_at": 1588745784,
"deleted_at": null,
"updated_at": 1588745784,
"sort": null,
"ctr": 2,
"uid": 1896
},
{
"id": 67,
"uniacid": 4,
"store_id": 96,
"status": 1,
"title": "跳桥轻生多人下河救援",
"thumb": "https://cdn.we7.miotchina.com/videos/0/2020/04/1b615f834d249b6223d3412e4ff76176.mp4",
"description": "",
"is_recommand": 1,
"is_deleted": 0,
"created_at": 1588745918,
"deleted_at": null,
"updated_at": 1588745918,
"sort": null,
"ctr": null,
"uid": 1896
}
]
}
}
错误时返回:
- 缺少访问参数 - *
{
"result": 0,
"msg": "shop_id is null!",
"data": []
}
简要描述:
- 根据id查找视频
请求域名 :
请求url:
route=member.shopvideo.findMyvideo
参数:
参数名 | 是否必须 | 说明 |
---|---|---|
shop_id | 是 | 店铺id |
video_id | 是 | 视频id |
返回示例:
正确时返回:
{
"result": 1,
"msg": "find",
"data": {
"yz_store_videos": {
"id": 70,
"uniacid": 4,
"store_id": 96,
"status": 1,
"title": "村民种1428株罂粟称喂鹅",
"thumb": "https://cdn.we7.miotchina.com/videos/0/2020/04/1b615f834d249b6223d3412e4ff76176.mp4",
"description": "",
"is_recommand": 1,
"is_deleted": 0,
"created_at": 1588745969,
"deleted_at": null,
"updated_at": 1588745969,
"sort": null,
"ctr": 0,
"uid": 1896,
"created_at_str": "2020-05-06 14:19:29",
"deleted_at_str": "1970-01-01 08:00:00",
"updated_at_str": "2020-05-06 14:19:29",
"uidstr": "pumpkin胖胖"
}
}
}
错误时返回:
- 缺少访问参数 - *
{
"result": 0,
"msg": "video_id is null!",
"data": []
}
{
"result": 0,
"msg": "shop_id is null!",
"data": []
}
POST
简要描述:
- 增加视频记录
请求域名 :
请求url:
route=member.shopvideo.addMyvideo
参数:
参数名 | 是否必须 | 说明 |
---|---|---|
title | 是 | 标题 |
url | 是 | 云地址 |
description | 是 | 描述 |
is_recommand | 是 | 是否推荐 :1 |
返回示例:
正确时返回:
{
"result": 1,
"msg": "add success",
"data": []
}
错误时返回:
- 缺少访问参数 - *
- 保存失败
{
"result": 0,
"msg": "url is null !",
"data": []
}
{
"result": 0,
"msg": "add fail",
"data": []
}
简要描述:
- 删除视频记录
请求域名 :
请求url:
route=member.shopvideo.delMyvideo
参数:
参数名 | 是否必须 | 说明 |
---|---|---|
video_id | 是 | 视频id |
返回示例:
正确时返回:
{
"result": 1,
"msg": "del success",
"data": []
}
错误时返回:
- 没有权限
- 缺少访问参数 - *
- 失败
{
"result": 0,
"msg": "您不是店员,或者已被禁用,所以无法操作哦!!",
"data": []
}
{
"result": 0,
"msg": "not found",
"data": []
}
{
"result": 0,
"msg": "del fail",
"data": []
}
简要描述:
- 修改视频记录
请求域名 :
请求url:
route=member.shopvideo.modifyMyvideo
参数:
参数名 | 是否必须 | 说明 |
---|---|---|
video_id | 是 | 视频id |
title | 是 | 标题 |
url | 是 | 云地址 |
description | 是 | 描述 |
is_recommand | 是 | 是否推荐 :1 |
返回示例:
正确时返回:
{
"result": 1,
"msg": "modify success",
"data": []
}
错误时返回:
- 没有权限
- 缺少访问参数 - *
- 失败
{
"result": 0,
"msg": "您不是店员,或者已被禁用,所以无法操作哦!!",
"data": []
}
{
"result": 0,
"msg": "not found",
"data": []
}
{
"result": 0,
"msg": "modify fail",
"data": []
}
简要描述:
- 增加视频点击率
请求域名 :
请求url:
route=member.shopvideo.modifyMyvideoCtr
参数:
参数名 | 是否必须 | 说明 |
---|---|---|
video_id | 是 | 视频id |
返回示例:
正确时返回:
{
"result": 1,
"msg": "modify success",
"data": []
}
错误时返回:
- 缺少访问参数 - 视频ID
- 视频id不正确
{
"result": 0,
"msg": "not found",
"data": []
}