浏览代码

增加初始化

xuzhiheng 2 年之前
父节点
当前提交
29bca00251
共有 1 个文件被更改,包括 2 次插入0 次删除
  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() {