热门可以不用登录
This commit is contained in:
parent
7425be2690
commit
97a35af919
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue