From e174e190ee13af708517c95d7d6c2e2680083728 Mon Sep 17 00:00:00 2001 From: whyour Date: Fri, 11 Aug 2023 21:40:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20python=20=E4=BC=81?= =?UTF-8?q?=E4=B8=9A=E5=BE=AE=E4=BF=A1=E6=8E=A8=E9=80=81=EF=BC=8Cdebian=20?= =?UTF-8?q?=E7=89=88=E6=9C=AC=E5=85=B3=E4=BA=8E=E9=A1=B5=E9=9D=A2=E6=8A=A5?= =?UTF-8?q?=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sample/notify.py | 2 +- src/pages/setting/about.tsx | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/sample/notify.py b/sample/notify.py index 3d569c07..d7f07c47 100644 --- a/sample/notify.py +++ b/sample/notify.py @@ -456,7 +456,7 @@ class WeCom: return respone["errmsg"] def send_mpnews(self, title, message, media_id, touser="@all"): - send_url = f"https://{self.HOST}/cgi-bin/message/send?access_token={self.get_access_token()}" + send_url = f"https://{self.ORIGIN}/cgi-bin/message/send?access_token={self.get_access_token()}" send_values = { "touser": touser, "msgtype": "mpnews", diff --git a/src/pages/setting/about.tsx b/src/pages/setting/about.tsx index 491edf53..6c7369d6 100644 --- a/src/pages/setting/about.tsx +++ b/src/pages/setting/about.tsx @@ -10,6 +10,7 @@ const { Link } = Typography; enum TVersion { 'develop' = '开发版', 'master' = '正式版', + 'debian' = '正式版' } const About = ({ systemInfo }: { systemInfo: SharedContext['systemInfo'] }) => {