init service

This commit is contained in:
life
2014-09-22 19:15:28 +08:00
parent b89721a0f4
commit 416dd77717
5 changed files with 80 additions and 50 deletions

View File

@ -3,6 +3,8 @@ package app
import (
"github.com/revel/revel"
. "github.com/leanote/leanote/app/lea"
"github.com/leanote/leanote/app/service"
"github.com/leanote/leanote/app/controllers"
_ "github.com/leanote/leanote/app/lea/binder"
"reflect"
"fmt"
@ -116,5 +118,8 @@ func init() {
// init Email
revel.OnAppStart(func() {
InitEmail()
service.InitService()
controllers.InitService()
})
}