完善设置

This commit is contained in:
masnn committed 2020-05-22 12:15:07 +08:00
1 parent fc0d9873a2
commit 7edb29d7b8
43 files changed
+219 -184

No files matched your search

+2 -1
View File
@@ -22,7 +22,8 @@ async function set(_id, value) {
function inc(field) {
return update(field, { $inc: { value: 1 } }, { upsert: true });
}
module.exports = {
global.Hydro.model.system = module.exports = {
get,
update,
inc,