Finish all the abstract things.
This commit is contained in:
@ -20,7 +20,7 @@ type Context interface {
|
||||
GetSessionCache() *cache.Table
|
||||
|
||||
//获取全局的ControllerMap
|
||||
GetControllerMap() map[string]IController
|
||||
GetControllerMap() map[string]Controller
|
||||
|
||||
//系统安装成功
|
||||
InstallOk()
|
||||
|
@ -2,7 +2,7 @@ package core
|
||||
|
||||
import "net/http"
|
||||
|
||||
type IController interface {
|
||||
type Controller interface {
|
||||
Bean
|
||||
//注册自己固定的路由。
|
||||
RegisterRoutes() map[string]func(writer http.ResponseWriter, request *http.Request)
|
||||
|
Reference in New Issue
Block a user