xiongzhu 2 년 전
부모
커밋
39581c74ac
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      routes/api/index.js

+ 2 - 1
routes/api/index.js

@@ -68,7 +68,7 @@ module.exports = async function (fastify, opts) {
                     if (rows.length > 1) {
                     if (rows.length > 1) {
                         price = await rows[1].innerText()
                         price = await rows[1].innerText()
                     }
                     }
-
+                    console.log(asin + ' start')
                     let sif = await axios.get('https://www.sif.com/api/search/asinFlowOverview', {
                     let sif = await axios.get('https://www.sif.com/api/search/asinFlowOverview', {
                         params: {
                         params: {
                             country: 'US',
                             country: 'US',
@@ -76,6 +76,7 @@ module.exports = async function (fastify, opts) {
                             _t: new Date().getTime()
                             _t: new Date().getTime()
                         }
                         }
                     })
                     })
+                    console.log(asin + ' end')
                     return { text, href, price, asin, data: sif.data.data }
                     return { text, href, price, asin, data: sif.data.data }
                 }
                 }
             })
             })