From 266d21f43ae715aa3a9b323a835a1dac7c6fa807 Mon Sep 17 00:00:00 2001 From: satori Date: Mon, 16 Dec 2024 08:24:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=20web=5Ffans=20=E7=BB=9F?= =?UTF-8?q?=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- update.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update.js b/update.js index 5c271d2..200ea71 100644 --- a/update.js +++ b/update.js @@ -37,7 +37,7 @@ export async function update_explorer(table, rank, views) { // fans type: 0=设计师 1=团队 2=图片 3=图集 4=视频 const JOIN = { - 'fans': `SELECT blogger_id AS id, COUNT(*) AS fans_count FROM web_member_explorer ${WHERE[rank]} GROUP BY id` + 'fans': `SELECT blogger_id AS id, COUNT(*) AS fans_count FROM web_fans ${WHERE[rank]} GROUP BY id` } for (let name of ['fans']) {