商品id:10000016665540
商品类目1:"cats": [
{
"cat_id": "1453"
},
{
"cat_id": "1492"
},
{
"cat_id": "1494"
}
商品类目2:
"cats_v2": [
{
"cat_id": "10000050"
},
{
"cat_id": "10000056"
},
{
"cat_id": "1494"
}
类目获取到的2:
{"cat_list":[],"cat_list_v2":[{"cat_id":10000051,"f_cat_id":10000050,"leaf":false,"name":"家庭环境清洁"},{"cat_id":10000052,"f_cat_id":10000050,"leaf":false,"name":"清洁用具"},{"cat_id":10000053,"f_cat_id":10000050,"leaf":false,"name":"清洁纸品"},{"cat_id":10000054,"f_cat_id":10000050,"leaf":false,"name":"皮具护理"},{"cat_id":10000055,"f_cat_id":10000050,"leaf":false,"name":"衣物清洁"}],"errcode":"0","errmsg":"ok"}
根据上述情况,存在商品绑定类目id,匹配不到获取类目列表中的数据,其中f_f_cat_id:10000050下并没有cat_id:10000056的子类目
您好,https://developers.weixin.qq.com/doc/channels/API/category/getallcategory.html 这个api resp里有cats_v2
商品类目1:"cats": [
{
"cat_id": "1453"
},
{
"cat_id": "1492"
},
{
"cat_id": "1494"
}
商品类目2:
"cats_v2": [
{
"cat_id": "10000050"
},
{
"cat_id": "10000056"
},
{
"cat_id": "1494"
}
但是通过获取可用的子类目详情接口和获取所有类目接口 都没有获取想这个子类目信息找文档图片文件@消息更多酷应用