报告一个小商店API-BantchAdd-BUG
这个接口在接受到申请的数据组后,后面不是按顺序提交的SKU内容,导致最终在小商店里的排序是是乱序输出的。
小商店前台的输出排序规格应该只是根据自动生成的SKUID,但是采用这个接口生成的SKUID并不是按照提交进去的顺序一个一个去生成的。
以下是未例代码:SKUS内容中的SKUID并没有按数据输入的顺序同步生成。
{"errcode":0,"data":{"product_id":29578793,"out_product_id":"602577583670","update_time":"2021-04-24 14:15:11"}}
{"errcode":0,
"skus":[
{"product_id":29578793,"out_product_id":"","out_sku_id":"","thumb_img":"https:\/\/gd2.alicdn.com\/imgextra\/i4\/60699950\/O1CN01vciE2L2NN9RtTQMdd_!!60699950.jpg","sale_price":0,"market_price":0,"stock_num":99,"code":"","barcode":"","sku_id":38934857,"sku_attrs":[{"attr_key":"规格型号","attr_value":"0-150 0.02老款(银色)"}],"status":0,"sku_code":""},
{"product_id":29578793,"out_product_id":"","out_sku_id":"","thumb_img":"https:\/\/gd3.alicdn.com\/imgextra\/i4\/60699950\/O1CN01vciE2L2NN9RtTQMdd_!!60699950.jpg","sale_price":0,"market_price":0,"stock_num":99,"code":"","barcode":"","sku_id":38934858,"sku_attrs":[{"attr_key":"规格型号","attr_value":"0-200 0.02老款(银色)"}],"status":0,"sku_code":""},
{"product_id":29578793,"out_product_id":"","out_sku_id":"","thumb_img":"https:\/\/gd3.alicdn.com\/imgextra\/i4\/60699950\/O1CN01vciE2L2NN9RtTQMdd_!!60699950.jpg","sale_price":0,"market_price":0,"stock_num":99,"code":"","barcode":"","sku_id":38919783,"sku_attrs":[{"attr_key":"规格型号","attr_value":"0-300 0.02老款(银色)"}],"status":0,"sku_code":""},
{"product_id":29578793,"out_product_id":"","out_sku_id":"","thumb_img":"https:\/\/gd3.alicdn.com\/imgextra\/i4\/60699950\/O1CN01vciE2L2NN9RtTQMdd_!!60699950.jpg","sale_price":0,"market_price":0,"stock_num":99,"code":"","barcode":"","sku_id":38925526,"sku_attrs":[{"attr_key":"规格型号","attr_value":"0-150 0.01老款(银色)"}],"status":0,"sku_code":""},
{"product_id":29578793,"out_product_id":"","out_sku_id":"","thumb_img":"https:\/\/gd2.alicdn.com\/imgextra\/i4\/60699950\/O1CN01vciE2L2NN9RtTQMdd_!!60699950.jpg","sale_price":0,"market_price":0,"stock_num":99,"code":"","barcode":"","sku_id":38915855,"sku_attrs":[{"attr_key":"规格型号","attr_value":"0-200 0.01老款(银色)"}],"status":0,"sku_code":""},
{"product_id":29578793,"out_product_id":"","out_sku_id":"","thumb_img":"https:\/\/gd1.alicdn.com\/imgextra\/i4\/60699950\/O1CN01vciE2L2NN9RtTQMdd_!!60699950.jpg","sale_price":0,"market_price":0,"stock_num":99,"code":"","barcode":"","sku_id":38934859,"sku_attrs":[{"attr_key":"规格型号","attr_value":"0-300 0.01老款(银色)"}],"status":0,"sku_code":""},
{"product_id":29578793,"out_product_id":"","out_sku_id":"","thumb_img":"https:\/\/gd4.alicdn.com\/imgextra\/i3\/60699950\/O1CN014CVoLm2NN9RtTGpbN_!!60699950.jpg","sale_price":0,"market_price":0,"stock_num":99,"code":"","barcode":"","sku_id":38938321,"sku_attrs":[{"attr_key":"规格型号","attr_value":"0-150 0.02新款金属壳(金色)"}],"status":0,"sku_code":""},
{"product_id":29578793,"out_product_id":"","out_sku_id":"","thumb_img":"https:\/\/gd4.alicdn.com\/imgextra\/i3\/60699950\/O1CN014CVoLm2NN9RtTGpbN_!!60699950.jpg","sale_price":0,"market_price":0,"stock_num":99,"code":"","barcode":"","sku_id":38938322,"sku_attrs":[{"attr_key":"规格型号","attr_value":"0-200 0.02新款金属壳(金色)"}],"status":0,"sku_code":""},
{"product_id":29578793,"out_product_id":"","out_sku_id":"","thumb_img":"https:\/\/gd2.alicdn.com\/imgextra\/i3\/60699950\/O1CN014CVoLm2NN9RtTGpbN_!!60699950.jpg","sale_price":0,"market_price":0,"stock_num":99,"code":"","barcode":"","sku_id":38938323,"sku_attrs":[{"attr_key":"规格型号","attr_value":"0-300 0.02新款金属壳(金色)"}],"status":0,"sku_code":""},
{"product_id":29578793,"out_product_id":"","out_sku_id":"","thumb_img":"https:\/\/gd4.alicdn.com\/imgextra\/i3\/60699950\/O1CN014CVoLm2NN9RtTGpbN_!!60699950.jpg","sale_price":0,"market_price":0,"stock_num":99,"code":"","barcode":"","sku_id":38925527,"sku_attrs":[{"attr_key":"规格型号","attr_value":"0-150 0.01新款金属壳(金色)"}],"status":0,"sku_code":""},
{"product_id":29578793,"out_product_id":"","out_sku_id":"","thumb_img":"https:\/\/gd4.alicdn.com\/imgextra\/i3\/60699950\/O1CN014CVoLm2NN9RtTGpbN_!!60699950.jpg","sale_price":0,"market_price":0,"stock_num":99,"code":"","barcode":"","sku_id":38923657,"sku_attrs":[{"attr_key":"规格型号","attr_value":"0-200 0.01新款金属壳(金色)"}],"status":0,"sku_code":""},
{"product_id":29578793,"out_product_id":"","out_sku_id":"","thumb_img":"https:\/\/gd4.alicdn.com\/imgextra\/i3\/60699950\/O1CN014CVoLm2NN9RtTGpbN_!!60699950.jpg","sale_price":0,"market_price":0,"stock_num":99,"code":"","barcode":"","sku_id":38936459,"sku_attrs":[{"attr_key":"规格型号","attr_value":"0-300 0.01新款金属壳(金色)"}],"status":0,"sku_code":""},
{"product_id":29578793,"out_product_id":"","out_sku_id":"","thumb_img":"https:\/\/gd2.alicdn.com\/imgextra\/i2\/60699950\/O1CN01m16CFk2NN9RrxPLaF_!!60699950.jpg","sale_price":0,"market_price":0,"stock_num":99,"code":"","barcode":"","sku_id":38932853,"sku_attrs":[{"attr_key":"规格型号","attr_value":"0-500 0.02单向爪"}],"status":0,"sku_code":""}
]}