batch to mongo

This commit is contained in:
skiffer-git
2022-05-20 13:01:08 +08:00
parent 0fbc1095be
commit ea8638c843
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ func (d *DataBases) GetUserMaxSeq(uid string) (uint64, error) {
}
//set the largest Seq
func (d *DataBases) SetUserMaxSeq(uid string, maxSeq uint32) error {
func (d *DataBases) SetUserMaxSeq(uid string, maxSeq uint64) error {
key := userIncrSeq + uid
_, err := redis.Uint64(d.Exec("SET", key, maxSeq))
return err