From 686bbdc16b4733222e50a9374c3c708d2107e646 Mon Sep 17 00:00:00 2001 From: thsrite Date: Wed, 23 Apr 2025 11:44:44 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E6=B7=BB=E5=8A=A0=E8=AE=A2=E9=98=85?= =?UTF-8?q?=E6=88=90=E5=8A=9F=E6=B6=88=E6=81=AF=E5=A2=9E=E5=8A=A0=E6=BC=94?= =?UTF-8?q?=E5=91=98=E5=90=8D=E7=A7=B0=E3=80=81=E7=AE=80=E4=BB=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/chain/subscribe.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/chain/subscribe.py b/app/chain/subscribe.py index 62abde17..0d224e34 100644 --- a/app/chain/subscribe.py +++ b/app/chain/subscribe.py @@ -233,6 +233,10 @@ class SubscribeChain(ChainBase, metaclass=Singleton): text = f"评分:{mediainfo.vote_average},来自用户:{username}" else: text = f"评分:{mediainfo.vote_average}" + if mediainfo.actors: + text += f"\n演员:{'、 '.join([actor['name'] for actor in mediainfo.actors])}" + if mediainfo.overview: + text += f"\n简介:{mediainfo.overview}" if mediainfo.type == MediaType.TV: link = settings.MP_DOMAIN('#/subscribe/tv?tab=mysub') else: