From 8dfe7284e808fe8b69e5fbfd4a08a356c2f90d74 Mon Sep 17 00:00:00 2001 From: yeyang <746659424@qq.com> Date: Tue, 25 Oct 2022 17:57:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E9=AB=98=E5=A4=9A=E5=BC=A0=E6=97=B6?= =?UTF-8?q?=E5=9B=BE=E7=89=87=E8=B4=A8=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/setu.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/apps/setu.js b/apps/setu.js index 4949952..bdfa95f 100644 --- a/apps/setu.js +++ b/apps/setu.js @@ -321,10 +321,8 @@ export class sese extends plugin { async setuapi(r18, num = 1, tag = "") { let size = "original" let proxy = await redis.get(`yenai:proxy`) - if (num <= 6 && num > 1) { + if (num > 6) { size = "regular" - } else if (num > 6) { - size = "small" } let url = `${api}?r18=${r18}&num=${num}${tag}&proxy=${proxy}&size=${size}`;