eew
This commit is contained in:
2
utils.py
2
utils.py
@@ -37,7 +37,7 @@ def saveWxidInfo(account_wxid, wxid, openId=None, h5openid=None):
|
||||
print("db_user",db_user)
|
||||
if db_user:
|
||||
print("wxid already registered")
|
||||
if db_user['openId'] and db_user['h5openid']:
|
||||
if db_user.openId and db_user.h5openid:
|
||||
print('用户数据openid和h5id都存在,无需更新')
|
||||
else:
|
||||
print("开始更新数据表")
|
||||
|
||||
Reference in New Issue
Block a user