|
@@ -6,6 +6,7 @@ import (
|
|
|
"front"
|
|
|
"history"
|
|
|
"log"
|
|
|
+ "push"
|
|
|
qu "qfw/util"
|
|
|
"qfw/util/mail"
|
|
|
"service"
|
|
@@ -41,6 +42,7 @@ func init() {
|
|
|
xweb.AddAction(&client.Client{})
|
|
|
xweb.AddAction(&client.OwnTag{})
|
|
|
xweb.AddAction(&client.CustomerRule{})
|
|
|
+ xweb.AddAction(&push.Push{})
|
|
|
xweb.RootApp().AppConfig.SessionTimeout = 1 * time.Hour
|
|
|
xweb.RootApp().Logger.SetOutputLevel(1)
|
|
|
go history.SaveMgo()
|