|
@@ -68,6 +68,10 @@ func init() {
|
|
UserWord()
|
|
UserWord()
|
|
//每月搜索统计搜索词
|
|
//每月搜索统计搜索词
|
|
SearchWordStatistics()
|
|
SearchWordStatistics()
|
|
|
|
+ //初始化发送邮件
|
|
|
|
+ if Config.SendMail {
|
|
|
|
+ SendMail()
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
func timeFmt() (int64, int64) {
|
|
func timeFmt() (int64, int64) {
|
|
@@ -266,6 +270,7 @@ func keyFmt(aItems interface{}) {
|
|
|
|
|
|
// 企业订阅
|
|
// 企业订阅
|
|
func EntWord() {
|
|
func EntWord() {
|
|
|
|
+ entWordNumber = map[string]int{}
|
|
_, lt := IsOneDay()
|
|
_, lt := IsOneDay()
|
|
tms := lt.AddDate(0, 0, -1)
|
|
tms := lt.AddDate(0, 0, -1)
|
|
//企业关键词查找
|
|
//企业关键词查找
|