热门可以不用登录

This commit is contained in:
HelloWorld 2020-04-14 11:45:37 +08:00
parent 7425be2690
commit 97a35af919
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ function md5(str) {
module.exports = class extends Base { module.exports = class extends Base {
async __before() { 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; return;
} }
try { try {