Update nosql_mongodb.py

This commit is contained in:
Mr Chen
2024-02-06 18:06:45 +08:00
parent 55e9313711
commit 48a55e279e
+2 -2
View File
@@ -6,8 +6,10 @@ import os
import time
import re
import pymongo
import json
from bson.objectid import ObjectId
from bson.json_util import dumps
sys.path.append(os.getcwd() + "/class/core")
import mw
@@ -128,8 +130,6 @@ class nosqlMongodbCtr():
return mw.returnData(True,'ok', result)
def getDataList(self, args):
from bson.json_util import dumps
import json
sid = args['sid']
db = args['db']
collection = args['collection']