Modify bug for getting lastest seq

pull/27/head
brennanli 4 years ago committed by senyu
parent 2a89941b7f
commit 32e514c6a1

@ -66,7 +66,7 @@ func (d *DataBases) SetLastGetSeq(uid string) (err error) {
//获取用户上一次主动拉取Seq的值
func (d *DataBases) GetLastGetSeq(uid string) (int64, error) {
key := userIncrSeq + uid
key := lastGetSeq + uid
return redis.Int64(d.Exec("GET", key))
}

Loading…
Cancel
Save