1
0
mirror of https://github.com/silenceper/wechat.git synced 2026-02-06 13:42:26 +08:00

添加获取微信服务器IP接口

This commit is contained in:
silenceper
2020-05-24 01:41:14 +08:00
parent 340e1a3c5b
commit a3ce22df79
3 changed files with 56 additions and 4 deletions

2
cache/redis.go vendored
View File

@@ -19,7 +19,7 @@ type RedisOpts struct {
Database int `yml:"database" json:"database"`
MaxIdle int `yml:"max_idle" json:"max_idle"`
MaxActive int `yml:"max_active" json:"max_active"`
IdleTimeout int32 `yml:"idle_timeout" json:"idle_timeout"` //second
IdleTimeout int `yml:"idle_timeout" json:"idle_timeout"` //second
}
//NewRedis 实例化