- 只在prod时做手机号与差评刷新
This commit is contained in:
7
main.go
7
main.go
@@ -46,8 +46,11 @@ func Init() {
|
||||
}
|
||||
cms.InitServiceInfo(Version, buildTime, GitCommit)
|
||||
promotion.Init()
|
||||
misc.StartRefreshEbaiRealMobile()
|
||||
ebai.CurPurchaseHandler.StartRefreshComment()
|
||||
|
||||
if beego.BConfig.RunMode == "prod" {
|
||||
misc.StartRefreshEbaiRealMobile()
|
||||
ebai.CurPurchaseHandler.StartRefreshComment()
|
||||
}
|
||||
}
|
||||
|
||||
// 返回true表示非运行服务
|
||||
|
||||
Reference in New Issue
Block a user