def find_porxy(): # ?????????('state'==False), ??????????? DB.ProxyIP.remove({'state': False}) result = json_util.dumps(DB.ProxyIP.find({'state': True}, {'_id': 0})) return json_util.loads(result)