mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-16 08:37:08 +08:00
修复 python 企业微信推送,debian 版本关于页面报错
This commit is contained in:
+1
-1
@@ -456,7 +456,7 @@ class WeCom:
|
|||||||
return respone["errmsg"]
|
return respone["errmsg"]
|
||||||
|
|
||||||
def send_mpnews(self, title, message, media_id, touser="@all"):
|
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 = {
|
send_values = {
|
||||||
"touser": touser,
|
"touser": touser,
|
||||||
"msgtype": "mpnews",
|
"msgtype": "mpnews",
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ const { Link } = Typography;
|
|||||||
enum TVersion {
|
enum TVersion {
|
||||||
'develop' = '开发版',
|
'develop' = '开发版',
|
||||||
'master' = '正式版',
|
'master' = '正式版',
|
||||||
|
'debian' = '正式版'
|
||||||
}
|
}
|
||||||
|
|
||||||
const About = ({ systemInfo }: { systemInfo: SharedContext['systemInfo'] }) => {
|
const About = ({ systemInfo }: { systemInfo: SharedContext['systemInfo'] }) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user