Add WxPusher simple push support,Enhance user experience and reduce configuration complexity (#3023)

* 新增对WxPusher极简推送的支持,减小用户使用成本

* 新增脚本对WxPusher极简推送的支持

* 修复通知配置的枚举定义

---------

Co-authored-by: zjiecode <zjiecode@gmail.com>
This commit is contained in:
zjiecode
2026-06-30 14:30:31 +08:00
committed by GitHub
parent d3016431ce
commit 327c3a317b
13 changed files with 220 additions and 3 deletions
+1
View File
@@ -54,6 +54,7 @@
"wxPusherBot的appToken": "wxPusherBot's appToken, obtain according to docs https://wxpusher.zjiecode.com/docs/",
"wxPusherBot的topicIds": "wxPusherBot's topicIds, at least one of topicIds or uids must be configured",
"wxPusherBot的uids": "wxPusherBot's uids, at least one of topicIds or uids must be configured",
"wxPusherSpt的SPT": "WxPusher Simple Push (SPT): standalone app available on 6 platforms — Android, iOS, HarmonyOS, Windows, macOS and Linux (<a href='https://wxpusher.zjiecode.com/download/' target='_blank' rel='noopener noreferrer'>download the app</a>). Scan the QR code below to get your SPT and start sending messages. Separate multiple SPTs with a comma (,), up to 10. See the <a href='https://wxpusher.zjiecode.com/docs/#/?id=spt' target='_blank' rel='noopener noreferrer'>official docs</a>.<br/><img src='https://wxpusher.zjiecode.com/api/qrcode/RwjGLMOPTYp35zSYQr0HxbCPrV9eU0wKVBXU1D5VVtya0cQXEJWPjqBdW3gKLifS.jpg' alt='Scan to get SPT' style='width:160px;height:160px;margin-top:8px;display:block;' />",
"一对多推送的“群组编码”(一对多推送下面->您的群组(如无则创建)->群组编码,如果您是创建群组人。也需点击“查看二维码”扫描绑定,否则不能接受群组消息推送)": "The 'group code' for one-to-many push (one-to-many push -> your group (if none, create one) -> group code). If you are the creator of the group, you need to click 'View QR code' to scan and bind, otherwise, you won't receive group messages.",
"一对多推送的“群组编码”(一对多推送下面->您的群组(如无则新建)->群组编码,如果您是创建群组人。也需点击“查看二维码”扫描绑定,否则不能接受群组消息推送)": "The 'Group Code' for One-to-Many Push (Below One-to-Many Push->Your Group (if not, create one)->Group Code, if you are the creator of the group, you also need to click 'View QR Code' to scan and bind, otherwise you cannot receive group messages)",
"上传": "Upload",
+1
View File
@@ -53,6 +53,7 @@
"wxPusherBot的appToken": "wxPusherBot的appToken, 按照文档获取 https://wxpusher.zjiecode.com/docs/",
"wxPusherBot的topicIds": "wxPusherBot的topicIds, topicIds 和 uids 至少配置一个才行",
"wxPusherBot的uids": "wxPusherBot的uids, topicIds 和 uids 至少配置一个才行",
"wxPusherSpt的SPT": "WxPusher 极简推送,独立 APP,支持 Android、iOS、Harmony、Window、MacOS、Linux 等 6 大平台(<a href='https://wxpusher.zjiecode.com/download/' target='_blank' rel='noopener noreferrer'>点击下载 APP</a>)。扫描下方二维码获取 SPT,就能发消息。多个 SPT 用英文逗号(,)分隔,最多 10 个,更多请参考<a href='https://wxpusher.zjiecode.com/docs/#/?id=spt' target='_blank' rel='noopener noreferrer'>官方说明</a>。<br/><img src='https://wxpusher.zjiecode.com/api/qrcode/RwjGLMOPTYp35zSYQr0HxbCPrV9eU0wKVBXU1D5VVtya0cQXEJWPjqBdW3gKLifS.jpg' alt='扫码获取 SPT' style='width:160px;height:160px;margin-top:8px;display:block;' />",
"一对多推送的“群组编码”(一对多推送下面->您的群组(如无则创建)->群组编码,如果您是创建群组人。也需点击“查看二维码”扫描绑定,否则不能接受群组消息推送)": "一对多推送的“群组编码”(一对多推送下面->您的群组(如无则创建)->群组编码,如果您是创建群组人。也需点击“查看二维码”扫描绑定,否则不能接受群组消息推送)",
"一对多推送的“群组编码”(一对多推送下面->您的群组(如无则新建)->群组编码,如果您是创建群组人。也需点击“查看二维码”扫描绑定,否则不能接受群组消息推送)": "一对多推送的“群组编码”(一对多推送下面->您的群组(如无则新建)->群组编码,如果您是创建群组人。也需点击“查看二维码”扫描绑定,否则不能接受群组消息推送)",
"上传": "上传",
+1 -1
View File
@@ -70,7 +70,7 @@ const NotificationSetting = ({ data }: any) => {
key={x.label}
label={x.label}
name={x.label}
extra={x.tip}
extra={<span dangerouslySetInnerHTML={{ __html: x.tip }} />}
rules={[{ required: x.required }]}
style={{ maxWidth: 400 }}
>
+8
View File
@@ -75,6 +75,7 @@ export default {
{ value: 'pushPlus', label: 'PushPlus' },
{ value: 'wePlusBot', label: intl.get('微加机器人') },
{ value: 'wxPusherBot', label: 'wxPusher' },
{ value: 'wxPusherSpt', label: 'WxPusher(极简推送SPT-推荐)' },
{ value: 'openiLink', label: 'OpeniLink' },
{ value: 'chat', label: intl.get('群晖chat') },
{ value: 'email', label: intl.get('邮箱') },
@@ -365,6 +366,13 @@ export default {
required: false,
},
],
wxPusherSpt: [
{
label: 'wxPusherSptList',
tip: intl.get('wxPusherSpt的SPT'),
required: true,
},
],
openiLink: [
{
label: 'openiLinkAppToken',