diff --git a/lib/v2/xkb/index.js b/lib/v2/xkb/index.js index 8e24c8f5f..e00dca6ad 100644 --- a/lib/v2/xkb/index.js +++ b/lib/v2/xkb/index.js @@ -5,7 +5,7 @@ const { art } = require('@/utils/render'); const path = require('path'); module.exports = async (ctx) => { - const channel = ctx.params.channel ?? 1; + const channel = ctx.params.channel ?? 350; const currentUrl = `https://www.xkb.com.cn/xkbapp/fundapi/article/api/articles?chnlId=${channel}&visibility=1&page=0&size=20&keyword=`; const { data: response } = await got({ @@ -24,7 +24,7 @@ module.exports = async (ctx) => { thumb: item.shareImg, }), pubDate: timezone(parseDate(item.operTime), +8), - link: 'https://www.xkb.com.cn/#/detail?id=' + item.id, + link: 'https://www.xkb.com.cn/detail?id=' + item.id, contentUrl: item.contentUrl, author: item.metaInfo.author, chnlName: item.metaInfo.chnlName, @@ -48,7 +48,7 @@ module.exports = async (ctx) => { ctx.state.data = { title: `新快报新快网 - ${chnlName}`, - link: `https://www.xkb.com.cn/#/home?id=${channel}`, + link: `https://www.xkb.com.cn/home?id=${channel}`, item: items, }; };