fix: 鼠绘无法获取最新漫画bug (#2257)
* 添加移动支付网分类 * 添加移动支付缓存 * 添加移动支付缓存 * fix 鼠绘无法获取最新漫画bug
This commit is contained in:
parent
7ac9ee0c41
commit
b52be1cf99
|
|
@ -68,6 +68,12 @@ pageClass: routes
|
|||
|
||||
<Route author="lalxyy" example="/checkee/2019-03" path="/checkee/:month" :paramsDesc="['签证被 check 的年份-月份,如 2019-03']" />
|
||||
|
||||
## cnBeta
|
||||
|
||||
### 最新
|
||||
|
||||
<Route author="kt286" example="/cnbeta" path="/cnbeta"/>
|
||||
|
||||
## DoNews
|
||||
|
||||
### 栏目
|
||||
|
|
@ -901,9 +907,3 @@ type 为 all 时,category 参数不支持 cost 和 free
|
|||
### 全文
|
||||
|
||||
<Route author="HenryQW" example="/zzz" path="/zzz/index"/>
|
||||
|
||||
## cnBeta
|
||||
|
||||
### 最新
|
||||
|
||||
<Route author="kt286" example="/cnbeta" path="/cnbeta"/>
|
||||
|
|
|
|||
|
|
@ -3,10 +3,13 @@ const axios = require('@/utils/axios');
|
|||
module.exports = async (ctx) => {
|
||||
const id = ctx.params.id;
|
||||
|
||||
const api_data = await axios.get('https://prod-u.ishuhui.com/ver');
|
||||
const comics_code = api_data.data.data.comics;
|
||||
|
||||
let lastEpisodeId;
|
||||
const rssData = await axios({
|
||||
method: 'get',
|
||||
url: `https://prod-api.ishuhui.com/ver/67715120/anime/detail?id=${id}&type=comics&.json`,
|
||||
url: `https://prod-api.ishuhui.com/ver/${comics_code}/anime/detail?id=${id}&type=comics&.json`,
|
||||
headers: {
|
||||
Origin: 'https://www.ishuhui.com',
|
||||
Referer: `https://www.ishuhui.com/comics/anime/${id}`,
|
||||
|
|
|
|||
Loading…
Reference in New Issue