|
lass="quote 15">有赞-妮子 发表于 2019-10-18 10:09
您好,关于这个问题麻烦您提供具体的入参+token+接口
调用接口(通过商品分组id获取商品列表:youzan.showcase.render.api.listGoodsByTagId 1.0.0)
请求接口地址:https://open.youzanyun.com/api/y ... e82282e420920782049
请求参数:
(
[tag_id] => 110976303
[order] => desc
=> 1
[page_size] => 100
)
接口返回数据:
Array
(
[code] => 0
[message] => 获取有赞商品成功!
[product_list] => Array
(
[0] => Array
(
[start_sold_time] => 0
[biz_mark_code] => 000000000000
[sell_point] =>
[origin] =>
[title] => 6磅蛋糕-草莓红丝绒(做你的小迷莓)
[activity_price] => 58800
[sub_title] =>
[is_free] =>
[price] => 58800
[owl_alias] =>
[image_url] => http://img.yzcdn.cn/upload_files ... q65yBNMY6ihS3U_.jpg
[alias] => 2otydpvqo08ov
[id] => 506901024
[height] => 3333
[owl_type] =>
[total_sold_num] => 0
[image_id] => 1244409266
[pre_sale_type] =>
[buy_way] => 1
[buy_url] =>
[media_type] =>
[sold_status] => 1
[picture] => [{"height":3333,"id":1244409266,"url":"http://img.yzcdn.cn/upload_files/2018/11/27/FoyQTKu2r_900q65yBNMY6ihS3U_.jpg","width":3333},{"height":3333,"id":1244409408,"url":"http://img.yzcdn.cn/upload_files/2018/11/27/FoNmmsex9dL_52kwkjOmGogGaWFZ.jpg","width":3329},{"height":3333,"id":1244408859,"url":"http://img.yzcdn.cn/upload_files/2018/11/27/Fhqy33-9sCpMzwZ1Shbl7xGPEi2i.jpg","width":3333},{"height":3333,"id":1244408862,"url":"http://img.yzcdn.cn/upload_files/2018/11/27/FqqGycDc6QUsWj6HjB_WG11b_Pe_.jpg","width":3333}]
[goods_type] => 0
[postage] => 0
[pre_sale] =>
[width] => 3333
[total_stock] => 96
[is_virtual] => 0
[catering_info] => Array
(
[can_sold_dates] => Array
(
)
[catering_goods_details] => Array
(
)
[ingredient_info_list] => Array
(
)
)
)
[1] => Array
(
[start_sold_time] => 0
[biz_mark_code] => 000000000000
[sell_point] =>
[origin] =>
[title] => 【儿童专款蛋糕】超好吃夹心水果蛋糕-布朗熊可妮兔6磅上线啦!
[activity_price] => 58800
[sub_title] =>
[is_free] =>
[price] => 58800
[owl_alias] =>
[image_url] => http://img.yzcdn.cn/upload_files ... BOt5cEbtbB8pCJm.jpg
[alias] => 3nj16jwrqsni7
[id] => 506840472
[height] => 3333
[owl_type] =>
[total_sold_num] => 0
[image_id] => 1395486983
[pre_sale_type] =>
[buy_way] => 1
[buy_url] =>
[media_type] =>
[sold_status] => 1
[picture] => [{"height":3333,"id":1395486983,"url":"http://img.yzcdn.cn/upload_files/2019/05/30/Fh0FLYaY_fpRmBOt5cEbtbB8pCJm.jpg","width":3333},{"height":3333,"id":1395487149,"url":"http://img.yzcdn.cn/upload_files/2019/05/30/FrGmeara5K0PVh1M7cr04ufpgccm.jpg","width":3333}]
[goods_type] => 0
[postage] => 0
[pre_sale] =>
[width] => 3333
[total_stock] => 100
[is_virtual] => 0
[catering_info] => Array
(
[can_sold_dates] => Array
(
)
[catering_goods_details] => Array
(
)
[ingredient_info_list] => Array
(
)
)
)
[2] => Array
(
[start_sold_time] => 0
[biz_mark_code] => 000000000000
[sell_point] =>
[origin] =>
[title] => 【儿童专款蛋糕】超好吃夹心水果蛋糕-甜心公主-满满儿童味
[activity_price] => 58800
[sub_title] =>
[is_free] =>
[price] => 58800
[owl_alias] =>
[image_url] => http://img.yzcdn.cn/upload_files ... RWOc8A_bBDiWYb2.jpg
[alias] => 3nvcg3kxbb4lr
[id] => 506840287
[height] => 3333
[owl_type] =>
[total_sold_num] => 0
[image_id] => 1395485547
[pre_sale_type] =>
[buy_way] => 1
[buy_url] =>
[media_type] =>
[sold_status] => 1
[picture] => [{"height":3333,"id":1395485547,"url":"http://img.yzcdn.cn/upload_files/2019/05/30/FlIl3ywOA_qwIRWOc8A_bBDiWYb2.jpg","width":3333},{"height":3333,"id":1395487160,"url":"http://img.yzcdn.cn/upload_files/2019/05/30/FpeKN3wmpUBrjFVH0KKscgrsAG_4.jpg","width":3333}]
[goods_type] => 0
[postage] => 0
[pre_sale] =>
[width] => 3333
[total_stock] => 999
[is_virtual] => 0
[catering_info] => Array
(
[can_sold_dates] => Array
(
)
[catering_goods_details] => Array
(
)
[ingredient_info_list] => Array
(
)
)
)
[3] => Array
(
[start_sold_time] => 0
[biz_mark_code] => 000000000000
[sell_point] =>
[origin] =>
[title] => 【鲜果系列】香印女王鲜果蛋糕-6磅大蛋糕
[activity_price] => 58800
[sub_title] =>
[is_free] =>
[price] => 58800
[owl_alias] =>
[image_url] => http://img.yzcdn.cn/upload_files ... 45VzdRR6um6oWyW.jpg
[alias] => 2xk3dre6ug9rz
[id] => 506846100
[height] => 1667
[owl_type] =>
[total_sold_num] => 0
[image_id] => 1436195644
[pre_sale_type] =>
[buy_way] => 1
[buy_url] =>
[media_type] =>
[sold_status] => 1
[picture] => [{"height":1667,"id":1436195644,"url":"http://img.yzcdn.cn/upload_files/2019/07/11/FnVsxj59YNpjp45VzdRR6um6oWyW.jpg","width":1667},{"height":1667,"id":1436195419,"url":"http://img.yzcdn.cn/upload_files/2019/07/11/FuwU_3-1z9sliMma_4icgO1W95Sf.jpg","width":1667},{"height":1667,"id":1436195566,"url":"http://img.yzcdn.cn/upload_files/2019/07/11/Fg4f1hwelyYRxf8uifO6lh_WYiRL.jpg","width":1668},{"height":1667,"id":1436228571,"url":"http://img.yzcdn.cn/upload_files/2019/07/11/FiRaKYMlxNYNdPsu4W8utJ-hhE7j.jpg","width":1667},{"height":1667,"id":1436195349,"url":"http://img.yzcdn.cn/upload_files/2019/07/11/FgnNYFg6I90khUbMJqBsAb5wBh50.jpg","width":1667}]
[goods_type] => 0
[postage] => 0
[pre_sale] =>
[width] => 1667
[total_stock] => 998
[is_virtual] => 0
[catering_info] => Array
(
[can_sold_dates] => Array
(
)
[catering_goods_details] => Array
(
)
[ingredient_info_list] => Array
(
)
)
)
[4] => Array
(
[start_sold_time] => 0
[biz_mark_code] => 000000000000
[sell_point] =>
[origin] =>
[title] => 【鲜果系列】芒芒夏日鲜果蛋糕
[activity_price] => 58800
[sub_title] =>
[is_free] =>
[price] => 58800
[owl_alias] =>
[image_url] => http://img.yzcdn.cn/upload_files ... j6ZYt5JxSjn10rB.jpg
[alias] => 35xwxibevp4pb
[id] => 506901400
[height] => 1667
[owl_type] =>
[total_sold_num] => 0
[image_id] => 1441082357
[pre_sale_type] =>
[buy_way] => 1
[buy_url] =>
[media_type] =>
[sold_status] => 1
[picture] => [{"height":1667,"id":1441082357,"url":"http://img.yzcdn.cn/upload_files/2019/07/16/Fofg0XNXw9FRIj6ZYt5JxSjn10rB.jpg","width":1667},{"height":1667,"id":1441082283,"url":"http://img.yzcdn.cn/upload_files/2019/07/16/Fh79bQO7pdL2i2agi10ncZj6das7.jpg","width":1667},{"height":1667,"id":1441082287,"url":"http://img.yzcdn.cn/upload_files/2019/07/16/Fv6imHj21PyPp9C0hHKImx__iFI2.jpg","width":1667},{"height":1667,"id":1441082144,"url":"http://img.yzcdn.cn/upload_files/2019/07/16/FuG2QTloFffl2RgC9k0K9fd2mEts.jpg","width":1667},{"height":1667,"id":1441082380,"url":"http://img.yzcdn.cn/upload_files/2019/07/16/FteC0g7u5Oh1pE6bhMRBQrQbWmVp.jpg","width":1667}]
[goods_type] => 0
[postage] => 0
[pre_sale] =>
[width] => 1667
[total_stock] => 995
[is_virtual] => 0
[catering_info] => Array
(
[can_sold_dates] => Array
(
)
[catering_goods_details] => Array
(
)
[ingredient_info_list] => Array
(
)
)
)
[5] => Array
(
[start_sold_time] => 0
[biz_mark_code] => 000000000000
[sell_point] =>
[origin] =>
[title] => 【鲜果系列】桃之夭夭鲜果蛋糕-6磅蛋糕
[activity_price] => 58800
[sub_title] =>
[is_free] =>
[price] => 58800
[owl_alias] =>
[image_url] => http://img.yzcdn.cn/upload_files ... qlv0mKGzL4eKfAZ.jpg
[alias] => 3nlgazuu4pghb
[id] => 506847907
[height] => 1667
[owl_type] =>
[total_sold_num] => 0
[image_id] => 1441081948
[pre_sale_type] =>
[buy_way] => 1
[buy_url] =>
[media_type] =>
[sold_status] => 1
[picture] => [{"height":1667,"id":1441081948,"url":"http://img.yzcdn.cn/upload_files/2019/07/16/FruW09FCC0z77qlv0mKGzL4eKfAZ.jpg","width":1667},{"height":1667,"id":1441081563,"url":"http://img.yzcdn.cn/upload_files/2019/07/16/Fjl7on1uvH3Yk8mfNu61nM6CiB3w.jpg","width":1667},{"height":1667,"id":1441081953,"url":"http://img.yzcdn.cn/upload_files/2019/07/16/FuqxhMIIGr6FGD-d37V7dBcdKeBU.jpg","width":1667},{"height":800,"id":1442310939,"url":"http://img.yzcdn.cn/upload_files/2019/07/17/Fq6SGJzELtpn31QMGoKOoD5WGKY4.jpg","width":800},{"height":1667,"id":1441081565,"url":"http://img.yzcdn.cn/upload_files/2019/07/16/Fg4LRJZPYb6PSttHx1aAlF2NZPuM.jpg","width":1667}]
[goods_type] => 0
[postage] => 0
[pre_sale] =>
[width] => 1667
[total_stock] => 996
[is_virtual] => 0
[catering_info] => Array
(
[can_sold_dates] => Array
(
)
[catering_goods_details] => Array
(
)
[ingredient_info_list] => Array
(
)
)
)
[6] => Array
(
[start_sold_time] => 0
[biz_mark_code] => 000000000000
[sell_point] =>
[origin] =>
[title] => 【鲜果系列】翡翠蜜瓜鲜果蛋糕-6磅大蛋糕
[activity_price] => 58800
[sub_title] =>
[is_free] =>
[price] => 58800
[owl_alias] =>
[image_url] => http://img.yzcdn.cn/upload_files ... Af9sL8ecZhXWNqt.jpg
[alias] => 36dv5jr2qq1fj
[id] => 506847003
[height] => 1667
[owl_type] =>
[total_sold_num] => 0
[image_id] => 1436196155
[pre_sale_type] =>
[buy_way] => 1
[buy_url] =>
[media_type] =>
[sold_status] => 1
[picture] => [{"height":1667,"id":1436196155,"url":"http://img.yzcdn.cn/upload_files/2019/07/11/FqVf7RDJqHdITAf9sL8ecZhXWNqt.jpg","width":1667},{"height":1667,"id":1436197159,"url":"http://img.yzcdn.cn/upload_files/2019/07/11/FnnuB6Kzywutu-hBTzQvqKYKAMpP.jpg","width":1667},{"height":1667,"id":1436196653,"url":"http://img.yzcdn.cn/upload_files/2019/07/11/FuBm4aDE3XTP_hz4VvUyBwh8PZLK.jpg","width":1668},{"height":1667,"id":1436197163,"url":"http://img.yzcdn.cn/upload_files/2019/07/11/Fq41469x034cmwwH5flOWyxlkf6U.jpg","width":1667},{"height":1667,"id":1436196156,"url":"http://img.yzcdn.cn/upload_files/2019/07/11/FihCSPS6LcMp8fcFuVSYMJmcxU1e.jpg","width":1667}]
[goods_type] => 0
[postage] => 0
[pre_sale] =>
[width] => 1667
[total_stock] => 991
[is_virtual] => 0
[catering_info] => Array
(
[can_sold_dates] => Array
(
)
[catering_goods_details] => Array
(
)
[ingredient_info_list] => Array
(
)
)
)
[7] => Array
(
[start_sold_time] => 0
[biz_mark_code] => 000000000000
[sell_point] =>
[origin] =>
[title] => 6磅大蛋糕-鲜果多多戚风蛋糕 - 纯真的蛋糕美味
[activity_price] => 58800
[sub_title] =>
[is_free] =>
[price] => 58800
[owl_alias] =>
[image_url] => http://img.yzcdn.cn/upload_files ... mbdQ2bvj8WKd2s2.jpg
[alias] => 36cojfxrecaof
[id] => 506837497
[height] => 800
[owl_type] =>
[total_sold_num] => 0
[image_id] => 1193418941
[pre_sale_type] =>
[buy_way] => 1
[buy_url] =>
[media_type] =>
[sold_status] => 1
[picture] => [{"height":800,"id":1193418941,"url":"http://img.yzcdn.cn/upload_files/2018/09/29/Fr9nKPG4gcinSmbdQ2bvj8WKd2s2.jpg","width":800},{"height":800,"id":1193418844,"url":"http://img.yzcdn.cn/upload_files/2018/09/29/FjiEXM7_caESsiryh1boVKj8plWy.jpg","width":800},{"height":800,"id":1193418944,"url":"http://img.yzcdn.cn/upload_files/2018/09/29/FsQYEbVRk5I6T_z5moj0WTlpXWdU.jpg","width":800},{"height":800,"id":1193418948,"url":"http://img.yzcdn.cn/upload_files/2018/09/29/FvwE8QGhmj8O7YpyWPN9ueLLXt2B.jpg","width":800},{"height":800,"id":1193418949,"url":"http://img.yzcdn.cn/upload_files/2018/09/29/FlpKS3XuQwwCxm7ENqXdAbQSFOd0.jpg","width":800}]
[goods_type] => 0
[postage] => 0
[pre_sale] =>
[width] => 800
[total_stock] => 3994
[is_virtual] => 0
[catering_info] => Array
(
[can_sold_dates] => Array
(
)
[catering_goods_details] => Array
(
)
[ingredient_info_list] => Array
(
)
)
)
[8] => Array
(
[start_sold_time] => 0
[biz_mark_code] => 000000000000
[sell_point] =>
[origin] =>
[title] => 6磅大蛋糕上线了!奥利奥咸奶油戚风蛋糕
[activity_price] => 58800
[sub_title] =>
[is_free] =>
[price] => 58800
[owl_alias] =>
[image_url] => http://img.yzcdn.cn/upload_files ... wvog_xiI2GGfLmk.jpg
[alias] => 1yipnr5ybiqsv
[id] => 506840444
[height] => 800
[owl_type] =>
[total_sold_num] => 0
[image_id] => 1193413389
[pre_sale_type] =>
[buy_way] => 1
[buy_url] =>
[media_type] =>
[sold_status] => 1
[picture] => [{"height":800,"id":1193413389,"url":"http://img.yzcdn.cn/upload_files/2018/09/29/FoazKbPOBK_bfwvog_xiI2GGfLmk.jpg","width":800},{"height":800,"id":1193413395,"url":"http://img.yzcdn.cn/upload_files/2018/09/29/Fk79_uBuE3YoMTFRAY--mRyThbcX.jpg","width":800},{"height":800,"id":1193413399,"url":"http://img.yzcdn.cn/upload_files/2018/09/29/FokiES6McsVW_Q2KQceKYK1w8aue.jpg","width":800},{"height":800,"id":1193413802,"url":"http://img.yzcdn.cn/upload_files/2018/09/29/FhI_hAbxehCS9nuxH4Lm4G-Y29tm.jpg","width":800},{"height":800,"id":1193413808,"url":"http://img.yzcdn.cn/upload_files/2018/09/29/Fq1hHj7btrwriQ9H8X1byDp3DjV6.jpg","width":800}]
[goods_type] => 0
[postage] => 0
[pre_sale] =>
[width] => 800
[total_stock] => 4000
[is_virtual] => 0
[catering_info] => Array
(
[can_sold_dates] => Array
(
)
[catering_goods_details] => Array
(
)
[ingredient_info_list] => Array
(
)
)
)
)
)
接口中:catering_info的值为空(文档说明该数组下有商品规格信息),实际调用中没有,麻烦添加上
|
|