import requests
, pymongo
import json
client
= pymongo
.MongoClient
('127.0.0.1', 27017)
db
= client
.zhongguangda
collection
= db
.douyin_fans
collection
.update
({'open_id': ''},
{'$set': {'avatar': 'name', 'city':'', 'country':'',
'gender':'', 'nickname': '', 'province':'',
'union_id':''
}}, upsert
=True)
转载请注明原文地址: https://lol.8miu.com/read-30651.html