简要描述:

  • 发现详情

请求URL:

POST/plugin.video-share.frontend.video.getVideoGoods

参数:

参数名 是否必须 类型 说明
video_goods_id int 发现id

返回示例:

正确时返回:

{
	result: 1,
	msg: "成功",
	data: {
		video_goods: {
			id: 1,
			uniacid: 3,
			uid: 68,
			goods_id: 354,
			title: "测试",
			video: "images/3/2018/07/C8lBix3fl933hv9XHvbxIHVMbXL8Ll.jpg",
			cover: "images/3/2018/07/C8lBix3fl933hv9XHvbxIHVMbXL8Ll.jpg",
			share_num: 0,
			like_num: 0,
			order_price: "0.00",
			amount_total: "0.00",
			created_at: null,
			updated_at: null,
			deleted_at: null,
			member: {
				avatar: "http://thirdwx.qlogo.cn/mmopen/IJdPq631CVHJOk0tmPc5An9tv4bz8Z3oYiaaNnF9o4QbiarQYabRWGoqWWak6WXvNowHSibXXib7HgdWzvuEQS3Hf2QzbEYVOZgF/132",
				uid: 68,
				nickname: "大大大话的",
				avatar_image: "https://thirdwx.qlogo.cn/mmopen/IJdPq631CVHJOk0tmPc5An9tv4bz8Z3oYiaaNnF9o4QbiarQYabRWGoqWWak6WXvNowHSibXXib7HgdWzvuEQS3Hf2QzbEYVOZgF/132",
				username: "大大大话的"
			},
			goods: {
				id: 354,
				title: "排队测试2",
				price: "3000.00",
				market_price: "1450.00",
				thumb: "images/3/2018/07/C8lBix3fl933hv9XHvbxIHVMbXL8Ll.jpg",
				status_name: null
			}
		}
		"is_live":1
	}
}

错误时返回:

{
	result: 0,
	msg: "参数错误[video_goods_id=null]",
	data: [ ]
}

{
	result: 0,
	msg: "未找到信息",
	data: [ ]
}

返回参数说明:

参数名 类型 说明
is_live int 1-正在直播
id int 发现id
title string 标题
cover string 封面
video string 视频
like_num int 点赞数量
share_num int 分享数量
comment_num int 评论数量
member_video_num int 会员分享视频数量
member->avatar str 会员头像
goods->thumb str 商品图片
goods->title str 商品标题
goods->price float 商品现价
goods->market_price float 商品原价

备注:

  • 更多返回错误代码请看首页的错误代码描述