fix: 鼠绘无法获取最新漫画bug (#2257)

* 添加移动支付网分类

* 添加移动支付缓存

* 添加移动支付缓存

* fix 鼠绘无法获取最新漫画bug
This commit is contained in:
颛敱 2019-05-30 01:00:49 +08:00 committed by DIYgod
parent 7ac9ee0c41
commit b52be1cf99
2 changed files with 10 additions and 7 deletions

View File

@ -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"/>

View File

@ -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}`,