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

@ -135,7 +135,7 @@ func (this *Router) ServeHTTP(writer http.ResponseWriter, request *http.Request)
//已安装的模式
//统一处理用户的身份信息。
this.userService.bootstrap(writer, request)
this.userService.preHandle(writer, request)
if handler, ok := this.routeMap[path]; ok {
handler(writer, request)