Browse Source

增加初始化

xuzhiheng 2 năm trước cách đây
mục cha
commit
29bca00251
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      src/main.go

+ 2 - 0
src/main.go

@@ -9,6 +9,7 @@ import (
 
 	"log"
 	qu "qfw/util"
+	"qfw/util/redis"
 	"recharge"
 	"service"
 	"time"
@@ -44,6 +45,7 @@ func init() {
 	xweb.AddAction(&recharge.EntRecharge{})
 	xweb.RootApp().AppConfig.SessionTimeout = 7 * 24 * time.Hour
 	xweb.RootApp().Logger.SetOutputLevel(1)
+	redis.Del("datag", "jyqyfw_es_query")
 }
 
 func main() {