小商品获取SKU信息接口 报100002?
请求部门
$url = 'https://api.weixin.qq.com/product/sku/get?access_token='.$res['data']['authorizer_access_token'];
$data = [
"out_sku_id"=> "1024",
"sku_id"=> 15117030,
"need_edit_sku"=> 1, // 默认0:获取线上数据, 1:获取草稿数据
"need_real_stock"=> 1
];
$data = json_encode($data, JSON_UNESCAPED_UNICODE);
$res = httpRequest($url,$data);
返回部分
Array
(
[errcode] => 100002
[errmsg] => Not exist rid: 6001348a-38146d52-5770439b
)