简要描述:
- 搜索商品
请求URL:
GET/plugin.video-share.frontend.video.my-video
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
status | 是 | int | 状态 |
返回示例:
正确时返回:
{
result: 1,
msg: "成功",
data: {
video: {
total: 1,
per_page: 20,
current_page: 1,
last_page: 1,
next_page_url: null,
prev_page_url: null,
from: 1,
to: 1,
data: [{
id: 1,
uniacid: 3,
uid: 1295,
goods_id: 21,
title: "测试视频",
cover: "https://dev1.yunzmall.com/attachment/image/05440ea0999f5465e874c822c476b1b9.png",
video: "https://dev1.yunzmall.com/addons/yun_shop/static/upload/audios/0/2020/01/73514245057f38fd9aaa2e8af4b9332e.mp4",
share_num: 0,
like_num: 0,
status: 1,
order_price: "0.00",
amount_total: "0.00",
created_at: "2020-01-10 15:00:04",
updated_at: "2020-01-10 15:00:16",
deleted_at: null,
file_name: "73514245057f38fd9aaa2e8af4b9332e.mp4",
member: {
avatar: "/addons/yun_shop/static/images/photo-mr.jpg",
uid: 1295,
nickname: "17995385511",
avatar_image: "https://dev1.yunzmall.com/addons/yun_shop/static/images/photo-mr.jpg",
username: "17995385511"
},
goods: {
id: 21,
title: "等级返现测试",
price: "100.00",
market_price: "10.00",
thumb: "http://dev1.yunzshop.com/attachment/images/3/2017/09/KuzuQxQx1x2XU88X1QQ1QqkQ2Q4Ii1.jpg",
status_name: null
}
}]
},
member: {
uid: 1295,
uniacid: 3,
mobile: "17995385511",
email: "",
groupid: 0,
credit1: "0.00",
credit2: "0.00",
credit3: "0.00",
credit4: "0.00",
credit5: "0.00",
credit6: "0.00",
createtime: 1577948114,
realname: "",
nickname: "17995385511",
signature: null,
avatar: "/addons/yun_shop/static/images/photo-mr.jpg",
qq: "",
vip: 0,
gender: 0,
birthyear: 0,
birthmonth: 0,
birthday: 0,
constellation: "",
zodiac: "",
telephone: "",
idcard: "",
studentid: "",
grade: "",
address: "",
zipcode: "",
nationality: "",
resideprovince: "",
residecity: "",
residedist: "",
graduateschool: "",
company: "",
education: "",
occupation: "",
position: "",
revenue: "",
affectivestatus: "",
lookingfor: "",
bloodtype: "",
height: "",
weight: "",
alipay: "",
msn: "",
taobao: "",
site: "",
bio: "",
interest: "",
pay_password: "0",
user_from: 0,
avatar_image: "https://dev1.yunzmall.com/addons/yun_shop/static/images/photo-mr.jpg",
username: "17995385511"
},
release: 1,
review: 1
}
} {
"id": 313,
"goods_id": 363,
"is_cod": 1,
}
错误时返回:
{
result: 0,
msg: "请输入关键词",
data: [ ]
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
video | array | 视频列表 |
member | array | 会员信息 |
release | int | 发布总数 |
review | int | 审核总数 |
备注:
- 更多返回错误代码请看首页的错误代码描述