Browse Source

fix: project name

hsun 1 year ago
parent
commit
fab9d64a33
3 changed files with 5 additions and 5 deletions
  1. 3 3
      .gitignore
  2. 1 1
      utils/config.go
  3. 1 1
      utils/logs.go

+ 3 - 3
.gitignore

@@ -1,9 +1,9 @@
 /conf
 /.idea
-/hongze_edb_lib.exe
 /lastupdate.tmp
 /rdlucklog
-hongze_edb_lib
 .DS_Store
 binlog/
-/hongze_edb_lib.exe~
+/eta_index_lib.exe
+/eta_index_lib.exe~
+eta_index_lib

+ 1 - 1
utils/config.go

@@ -95,7 +95,7 @@ func init() {
 		} else {
 			RunMode = "release"
 		}
-		configPath := `/home/code/config/hongze_edb_lib/conf/app.conf`
+		configPath := `/home/code/config/eta_index_lib/conf/app.conf`
 		err = web.LoadAppConfig("ini", configPath)
 		if err != nil {
 			fmt.Println("web.LoadAppConfig Err:" + err.Error())

+ 1 - 1
utils/logs.go

@@ -11,7 +11,7 @@ var Binlog *logs.BeeLogger
 
 func init() {
 	FileLog = logs.NewLogger(1000000)
-	FileLog.SetLogger(logs.AdapterFile, `{"filename":"./rdlucklog/hongze_edb_lib.log"}`)
+	FileLog.SetLogger(logs.AdapterFile, `{"filename":"./rdlucklog/eta_index_lib.log"}`)
 	FileLog.EnableFuncCallDepth(true)
 
 	initBinlog()