Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 19250bb

Browse files
committed
浏览页面,活跃度增加1
1 parent 04845e9 commit 19250bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/http/middleware/login.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ func AutoLogin() echo.MiddlewareFunc {
3737
ctx.Set("user", user)
3838

3939
if !util.IsAjax(ctx) {
40-
logic.ViewObservable.NotifyObservers(user.Uid, 0, 0)
40+
go logic.ViewObservable.NotifyObservers(user.Uid, 0, 0)
4141
}
4242
}
4343
}

0 commit comments

Comments
 (0)