From 97a35af9197939bad9eb832b5d55986d2f39c9df Mon Sep 17 00:00:00 2001 From: HelloWorld Date: Tue, 14 Apr 2020 11:45:37 +0800 Subject: [PATCH] =?UTF-8?q?=E7=83=AD=E9=97=A8=E5=8F=AF=E4=BB=A5=E4=B8=8D?= =?UTF-8?q?=E7=94=A8=E7=99=BB=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/controller/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controller/api.js b/src/controller/api.js index a28f8b6..4f166c7 100644 --- a/src/controller/api.js +++ b/src/controller/api.js @@ -11,7 +11,7 @@ function md5(str) { module.exports = class extends Base { async __before() { - if (['userRegister', 'userLogin', 'noteShare', 'bookmarkDownload'].indexOf(this.ctx.action) >= 0) { + if (['userRegister', 'userLogin', 'noteShare', 'bookmarkDownload', 'hotBookmarks', 'hotBookmarksRandom'].indexOf(this.ctx.action) >= 0) { return; } try {