diff --git a/gorush/status.go b/gorush/status.go index 6d5f1ca..029f8e6 100644 --- a/gorush/status.go +++ b/gorush/status.go @@ -48,6 +48,12 @@ func InitAppStatus() { Password: PushConf.Stat.Redis.Password, DB: PushConf.Stat.Redis.DB, }) + + RushStatus.TotalCount = getTotalCount() + RushStatus.Ios.PushSuccess = getIosSuccess() + RushStatus.Ios.PushError = getIosError() + RushStatus.Android.PushSuccess = getAndroidSuccess() + RushStatus.Android.PushError = getAndroidError() default: initApp() }