Authored by 刘志远

Merge branch 'hotfix/price' into 'master'

修改因没有抓取到价格而引起的程序报错!

修改因没有抓取到价格而引起的程序报错!

See merge request !29
... ... @@ -103,7 +103,7 @@ const task = async(id) => {
const productId = detail.productId;
const soldNum = detail.soldNum;
const articleNumber = detail.articleNumber;
const price = (item.price || 0) / 100;
const price = (item && item.price ? item.price : 0) / 100;
const title = detail.title;
return {
... ...