Ready to add cron.

This commit is contained in:
zicla
2019-04-26 21:36:00 +08:00
parent f35852b696
commit 9d35088cce
8 changed files with 33 additions and 7 deletions

View File

@ -71,7 +71,7 @@ func (this *UserService) MatterUnlock(userUuid string) {
//装载session信息如果session没有了根据cookie去装填用户信息。
//在所有的路由最初会调用这个方法
func (this *UserService) bootstrap(writer http.ResponseWriter, request *http.Request) {
func (this *UserService) preHandle(writer http.ResponseWriter, request *http.Request) {
//登录身份有效期以数据库中记录的为准