diff --git a/app/chain/subscribe.py b/app/chain/subscribe.py index 5c80e5c67..f6850abb3 100644 --- a/app/chain/subscribe.py +++ b/app/chain/subscribe.py @@ -179,9 +179,9 @@ def add(self, title: str, year: str, text = f"评分:{mediainfo.vote_average}" # 群发 if mediainfo.type == MediaType.TV: - link = settings.MP_DOMAIN('#/subscribe-tv?tab=mysub') + link = settings.MP_DOMAIN('#/subscribe/tv?tab=mysub') else: - link = settings.MP_DOMAIN('#/subscribe-movie?tab=mysub') + link = settings.MP_DOMAIN('#/subscribe/movie?tab=mysub') self.post_message(Notification(mtype=NotificationType.Subscribe, title=f"{mediainfo.title_year} {metainfo.season} 已添加订阅", text=text, @@ -922,9 +922,9 @@ def __finish_subscribe(self, subscribe: Subscribe, mediainfo: MediaInfo, self.subscribeoper.delete(subscribe.id) # 发送通知 if mediainfo.type == MediaType.TV: - link = settings.MP_DOMAIN('#/subscribe-tv?tab=mysub') + link = settings.MP_DOMAIN('#/subscribe/tv?tab=mysub') else: - link = settings.MP_DOMAIN('#/subscribe-movie?tab=mysub') + link = settings.MP_DOMAIN('#/subscribe/movie?tab=mysub') self.post_message(Notification(mtype=NotificationType.Subscribe, title=f'{mediainfo.title_year} {meta.season} 已完成{msgstr}', image=mediainfo.get_message_image(),