From 8f096e185295b26d07c2b1e1b8a457bfca77640a Mon Sep 17 00:00:00 2001 From: hackrobot Date: Thu, 11 Apr 2024 00:28:51 +0800 Subject: [PATCH] eew --- utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils.py b/utils.py index 0e2800e..32c7333 100644 --- a/utils.py +++ b/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("开始更新数据表")