Commit 0b5c6b73 by huangchengyi

1.0

parent b606bfe3
...@@ -2,15 +2,15 @@ ...@@ -2,15 +2,15 @@
[default_redis_read] [default_redis_read]
host = 192.168.1.235:6379 host = 192.168.1.235:6379
password = icDb29mLy2s password = icDb29mLy2s
max_idle = 20000 max_idle = 10000
max_active = 20000 max_active = 10000
idle_timeout = 20 idle_timeout = 20
[default_redis_write] [default_redis_write]
host = 192.168.1.235:6379 host = 192.168.1.235:6379
password = icDb29mLy2s password = icDb29mLy2s
max_idle = 20000 max_idle = 10000
max_active = 20000 max_active = 10000
idle_timeout = 20 idle_timeout = 20
;存放redis所有键 ;存放redis所有键
......
...@@ -95,6 +95,7 @@ func Synchronization(ctx *gin.Context) { ...@@ -95,6 +95,7 @@ func Synchronization(ctx *gin.Context) {
temp[s] = v temp[s] = v
return true return true
}) })
common.Output(ctx, 0, "success", temp) common.Output(ctx, 0, "success", temp)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment