From 7309eaf9b535d33b8a4e16297d3e860205d82f3a Mon Sep 17 00:00:00 2001 From: youngS Date: Tue, 19 Oct 2021 11:44:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=BB=91=E5=AE=9A=E5=BC=82?= =?UTF-8?q?=E5=B8=B8=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fir_ser/api/views/thirdlogin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fir_ser/api/views/thirdlogin.py b/fir_ser/api/views/thirdlogin.py index 81eba98..ce7564f 100644 --- a/fir_ser/api/views/thirdlogin.py +++ b/fir_ser/api/views/thirdlogin.py @@ -202,7 +202,7 @@ class ValidWxChatToken(APIView): else: if user_obj: wx_user_info = update_or_create_wx_userinfo(to_user, user_obj) - content = f'账户绑定 {wx_user_obj.user_id.first_name} 成功' + content = f'账户绑定 {user_obj.first_name} 成功' WxTemplateMsg().bind_success_msg(to_user, wx_user_info.get('nickname', ''), user_obj.first_name) if user_obj: