Finish half translation work.
This commit is contained in:
@ -11,11 +11,9 @@ type FootprintController struct {
|
||||
footprintService *FootprintService
|
||||
}
|
||||
|
||||
//初始化方法
|
||||
func (this *FootprintController) Init() {
|
||||
this.BaseController.Init()
|
||||
|
||||
//手动装填本实例的Bean. 这里必须要用中间变量方可。
|
||||
b := core.CONTEXT.GetBean(this.footprintDao)
|
||||
if b, ok := b.(*FootprintDao); ok {
|
||||
this.footprintDao = b
|
||||
@ -28,7 +26,6 @@ func (this *FootprintController) Init() {
|
||||
|
||||
}
|
||||
|
||||
//注册自己的路由。
|
||||
func (this *FootprintController) RegisterRoutes() map[string]func(writer http.ResponseWriter, request *http.Request) {
|
||||
|
||||
routeMap := make(map[string]func(writer http.ResponseWriter, request *http.Request))
|
||||
|
Reference in New Issue
Block a user