交易组件添加商品成功了,查询列表数据获取不了
//添加商品成功
{
"errcode": 0,
"errmsg": "",
"data": {
"product_id": 404013651,
"out_product_id": "20210413036547",
"create_time": "2021-04-13 10:05:34",
"skus": [
{
"sku_id": 333100469,
"out_sku_id": "1618279534"
}
]
}
}{
"error_code": 0,
"error_info": "添加商品成功",
"data": [],
"route_code": null
}
获取数据列表
'get_goods_list' => 'https://api.weixin.qq.com/shop/spu/get_list?access_token=%s',
$url = sprintf(config('wechatvideourl.get_goods_list'), $access_token);
//获取请求体
$parameter = $this -> wechatVideoIdParameters -> getGoodsList();
//发送请求
$res = httpsRequest($url,json_encode($parameter));
//给我返回空,这是个啥情况
{
"error_code": 0,
"error_info": "",
"data": {
"errcode": 0,
"spus": [],
"total_num": 0
},
"route_code": null
}
你好,麻烦提供下返回的rid