From bb579e294cecef4b3b083348bc914a38f44dd6ae Mon Sep 17 00:00:00 2001 From: KotoriK <52659125+KotoriK@users.noreply.github.com> Date: Mon, 11 May 2020 18:37:46 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=80=82=E5=BA=94api=E6=9B=B4=E6=94=B9?= =?UTF-8?q?=EF=BC=8C=E8=A7=A3=E5=86=B3=E6=9C=80=E6=96=B0=E5=85=AC=E5=91=8A?= =?UTF-8?q?=E6=B2=A1=E6=9C=89=E6=98=BE=E7=A4=BA=E7=9A=84=E9=97=AE=E9=A2=98?= =?UTF-8?q?(=E5=85=AC=E4=B8=BB=E8=BF=9E=E6=8E=A5=E5=9B=BD=E6=9C=8D?= =?UTF-8?q?=E5=85=AC=E5=91=8A)=20(#4728)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/routes/pcr/news-cn.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/routes/pcr/news-cn.js b/lib/routes/pcr/news-cn.js index 2d8a51a14..0c0bde786 100644 --- a/lib/routes/pcr/news-cn.js +++ b/lib/routes/pcr/news-cn.js @@ -3,7 +3,7 @@ const got = require('@/utils/got'); module.exports = async (ctx) => { const response = await got({ method: 'get', - url: 'https://api.biligame.com/news/list?gameExtensionId=267&positionId=2&typeId=1&pageNum=1&pageSize=5', + url: `https://api.biligame.com/news/list?gameExtensionId=267&positionId=2&typeId=&pageNum=1&pageSize=5`, }); const data = response.data; ctx.state.data = {