revert: 回滚财新旧版 API(#5703)
This commit is contained in:
parent
b202a0546e
commit
eb4efcb389
|
|
@ -3,7 +3,11 @@ const got = require('@/utils/got');
|
|||
module.exports = async (ctx) => {
|
||||
const response = await got({
|
||||
method: 'get',
|
||||
url: 'https://mappsv5.caixin.com/index_page_v5/index_page_1.json',
|
||||
url: 'http://mapiv5.caixin.com//m/api/getWapIndexListByPage?page=1&callback=&_=1560140003179',
|
||||
headers: {
|
||||
Referer: `http://mapiv5.caixin.com/`,
|
||||
Host: 'mapiv5.caixin.com',
|
||||
},
|
||||
});
|
||||
|
||||
const data = response.data.data.list;
|
||||
|
|
|
|||
Loading…
Reference in New Issue