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'] }) => {