|
@@ -4,7 +4,7 @@ const axios = require('axios').default
|
|
|
|
|
|
|
|
module.exports = async function (fastify, opts) {
|
|
module.exports = async function (fastify, opts) {
|
|
|
fastify.post('/search', async function (request, reply) {
|
|
fastify.post('/search', async function (request, reply) {
|
|
|
- let response = await axios.post('https://www.sif.com/api/user/login?_t=' + new Date().getTime(), {
|
|
|
|
|
|
|
+ let response = await axios.post('https://www.deeperloop.com/api/user/login?_t=' + new Date().getTime(), {
|
|
|
phone: '18390881087',
|
|
phone: '18390881087',
|
|
|
password: 'Gaole1401'
|
|
password: 'Gaole1401'
|
|
|
})
|
|
})
|
|
@@ -68,7 +68,7 @@ module.exports = async function (fastify, opts) {
|
|
|
price = await rows[1].innerText()
|
|
price = await rows[1].innerText()
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- let sif = await axios.get('https://www.sif.com/api/search/asinFlowOverview', {
|
|
|
|
|
|
|
+ let sif = await axios.get('https://www.deeperloop.com/api/search/asinFlowOverview', {
|
|
|
params: {
|
|
params: {
|
|
|
country: 'US',
|
|
country: 'US',
|
|
|
asin,
|
|
asin,
|