新增 token自动提交

This commit is contained in:
2025-02-21 19:24:59 +08:00
parent 7fdaf42695
commit 3f042fec78
5 changed files with 37 additions and 4 deletions

View File

@@ -50,4 +50,9 @@ class MongoDb implements DataBase {
await getCollection(table)
.update(condition, data, multiUpdate: multiUpdate);
}
@override
Future<int> count(String tbale, {dynamic condition}) async {
return await getCollection(tbale).count(condition);
}
}