Commit 66e09a7051ea4f96c70c2bf2b2d8a322ab40fc5b

Authored by 陆恒
1 parent 2df977f2
Exists in ver2.3.0

提交

Showing 1 changed file with 3 additions and 2 deletions   Show diff stats
src/HttpServer/main/main.go
... ... @@ -7,6 +7,7 @@ import (
7 7 "HttpServer/redishandler"
8 8 "common/logger"
9 9 "flag"
  10 + "mysql"
10 11 "os"
11 12 "runtime/pprof"
12 13 "time"
... ... @@ -51,11 +52,11 @@ func main() {
51 52 return
52 53 }
53 54  
54   - /*err = mysql.InitMysql()
  55 + err = mysql.InitMysql()
55 56 if err != nil {
56 57 logger.Error("err init mysql err=%v", err)
57 58 return
58   - }*/
  59 + }
59 60  
60 61 err = jsonconf.LoadJsonConf()
61 62 if err != nil {
... ...