From 551f32491d9be20b1b62ab94e52b5ad99a2fa77c Mon Sep 17 00:00:00 2001 From: jxxghp Date: Tue, 5 Sep 2023 11:23:21 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E5=BE=AE=E4=BF=A1=E8=8F=9C=E5=8D=95?= =?UTF-8?q?=E9=95=BF=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/modules/wechat/wechat.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/modules/wechat/wechat.py b/app/modules/wechat/wechat.py index 3a9a00b4..38905e58 100644 --- a/app/modules/wechat/wechat.py +++ b/app/modules/wechat/wechat.py @@ -337,11 +337,11 @@ class WeChat(metaclass=Singleton): }) buttons.append({ "name": category, - "sub_button": sub_buttons + "sub_button": sub_buttons[:5] }) if buttons: # 发送请求 self.__post_request(req_url, { - "button": buttons + "button": buttons[:3] })