1
0
mirror of https://github.com/silenceper/wechat.git synced 2026-02-04 12:52:27 +08:00

add: user update-remark api

* add DecodeWithCommonError function
* add UpdateRemark method
This commit is contained in:
Chyroc
2018-09-14 09:22:36 +08:00
parent 7239daf438
commit 188703be23
5 changed files with 50 additions and 48 deletions

2
cache/redis.go vendored
View File

@@ -47,7 +47,7 @@ func NewRedis(opts *RedisOpts) *Redis {
//SetConn 设置conn
func (r *Redis) SetConn(conn *redis.Pool) {
r.conn = conn
r.conn = conn
}
//Get 获取一个值