diff --git a/hotgo-server/app/utils/filter_util.go b/hotgo-server/app/utils/filter_util.go index da4db92..32ea66f 100644 --- a/hotgo-server/app/utils/filter_util.go +++ b/hotgo-server/app/utils/filter_util.go @@ -4,14 +4,3 @@ package utils var Filter = new(filter) type filter struct{} - -//func (util *filter) RangeDate(startTime string, endTime string) map[string]interface{} { -// g.Map{ -// "uid <=" : 1000, -// "age >=" : 18, -// } -// return g.Map{ -// "uid <=" : 1000, -// "age >=" : 18, -// } -//} diff --git a/hotgo-server/config/config.example.yaml b/hotgo-server/config/config.example.yaml index fbd876b..470c493 100644 --- a/hotgo-server/config/config.example.yaml +++ b/hotgo-server/config/config.example.yaml @@ -96,13 +96,13 @@ queue: redis: default: address: "127.0.0.1:6379" - db: "5" - pass: "meng133814250" + db: "1" + pass: "hg123456." idleTimeout: "20" # cache: # address: "127.0.0.1:6379" -# db: "5" -# pass: "meng133814250" +# db: "1" +# pass: "hg123456." # idleTimeout: "20" # Database. diff --git a/hotgo-server/push.bat b/hotgo-server/push.bat index fb2eecc..bcbe5bc 100644 --- a/hotgo-server/push.bat +++ b/hotgo-server/push.bat @@ -8,4 +8,4 @@ set Today=%t:~0,4%-%t:~4,2%-%t:~6,2% %t:~8,2%:%t:~10,2% git commit -m "%Today%" -git push git@gitee.com:bufanyun/hotgo.git master \ No newline at end of file +git push git@github.com:bufanyun/hotgo.git master \ No newline at end of file