add: user update-remark api

* add DecodeWithCommonError function
* add UpdateRemark method
This commit is contained in:
Chyroc
2018-09-14 09:25:50 +08:00
parent 7239daf438
commit 188703be23
5 changed files with 50 additions and 48 deletions
+1 -1
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 获取一个值