Authored by 陈峰

commit

... ... @@ -16,6 +16,7 @@ module.exports = async() => {
const {detail, sizeList} = result.data;
const productId = detail.productId;
const soldNum = detail.soldNum;
const sizes = sizeList.map(sizeItem => {
return {
size: sizeItem.size,
... ... @@ -25,6 +26,7 @@ module.exports = async() => {
fw.write(`${JSON.stringify({
productId,
soldNum,
sizes
})}\n`);
}
... ...