小程序自定义交易组件添加商品总报错
发布于 5 年前 作者 juanma 3451 次浏览 来自 官方Issues

{

    “out_product_id”:“23258”,

    “title”:“Biore 碧柔 泡沫洗手液 按压式 250毫升”,

    “path”:“pages/item/espier-detail?id=23258”,

    “sub_title”:“Biore 碧柔 泡沫洗手液 按压式 250毫升”,

    "head_img":[

        "https://lsespier-vue.oss-cn-shanghai.aliyuncs.com/image/1/2022/03/08/12a1ecf6f7a6735488e231a28106a024ojJ7m3Eyt28nfJVZeOtZJsEKqoNylZ2O",

        "https://lsespier-vue.oss-cn-shanghai.aliyuncs.com/image/1/2022/03/08/c9cf25bc32a3c151ec706b6b4ce06219TzEHWG33g1pzby12akpn9JMLH6RQk7up"

    ],

    "desc_info":{

        "imgs":[

            "https://lsespier-vue.oss-cn-shanghai.aliyuncs.com/image/1/2022/03/08/12a1ecf6f7a6735488e231a28106a024ojJ7m3Eyt28nfJVZeOtZJsEKqoNylZ2O"

        ]

    },

    “brand_id”:“358”,

    "cats":[

        "1624",

        "1869"

    ],

    "attrs":[

        {

            "attr_key":"储存方法",

            "attr_value":"置于阴凉干燥处,避免阳光直射"

        },

        {

            "attr_key":"有效日期",

            "attr_value":"因库存不断更新,效期详见实物包装标识,敬请谅解!"

        }

    ],

    “model”:"",

    "skus":[

        {

            "out_product_id":"23258",

            "out_sku_id":"23258",

            "thumb_img":"https://lsespier-vue.oss-cn-shanghai.aliyuncs.com/image/1/2022/03/08/12a1ecf6f7a6735488e231a28106a024ojJ7m3Eyt28nfJVZeOtZJsEKqoNylZ2O",

            "sale_price":4091,

            "market_price":5900,

            "stock_num":10,

            "sku_code":"E007JP0060030035",

            "barcode":"4901301289438",

            "sku_attrs":[


            ]

        },

        {

            "out_product_id":"23259",

            "out_sku_id":"23259",

            "thumb_img":"https://lsespier-vue.oss-cn-shanghai.aliyuncs.com/image/1/2022/03/08/c9cf25bc32a3c151ec706b6b4ce06219TzEHWG33g1pzby12akpn9JMLH6RQk7up",

            "sale_price":4091,

            "market_price":5900,

            "stock_num":10,

            "sku_code":"E007JP0060030036",

            "barcode":"4901301289445",

            "sku_attrs":[


            ]

        }

    ],

    "scene_group_list":[

        1

    ]

}

{ [“errcode”]=> int(1000020) [“errmsg”]=> string(47) “sku列表为空 rid: 6233ed3f-1593681e-5c3ec6e9” }

以上参数报错 小程序appid:

1 回复

虽然不知道你报啥错,当我看到 官方需要的 third_cat_id 第三类目 你没有,取而代之的是你的cats

回到顶部