From ddc7ff11b5800b6bbfec71a9fe34e6a36ee4dc54 Mon Sep 17 00:00:00 2001 From: DIYgod Date: Sun, 29 Jul 2018 16:18:06 +0800 Subject: [PATCH] rss: fix mi crowdfunding price --- routes/mi/crowdfunding.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/mi/crowdfunding.js b/routes/mi/crowdfunding.js index d9de48da2..8928a5bce 100644 --- a/routes/mi/crowdfunding.js +++ b/routes/mi/crowdfunding.js @@ -35,7 +35,7 @@ module.exports = async (ctx) => { const data = JSON.parse(response.data.match(/^Zepto1532846359142\((.*)\);$/)[1]).data || {}; result = { title: data.goods.name, - description: `${data.goods.summary}
${data.goods.market_price / 100}元
`, + description: `${data.goods.summary}
${data.goods.price_min / 100}元
`, pubDate: new Date(data.crowdfunding.start * 1000).toUTCString(), link: `https://youpin.mi.com/detail?gid=${item.gid}`, };