2024-04-15 03:48:44 +00:00
|
|
|
|
---
|
|
|
|
|
created: 2024-04-15
|
|
|
|
|
tags:
|
|
|
|
|
title: push-message
|
|
|
|
|
---
|
2024-04-15 03:35:14 +00:00
|
|
|
|
|
|
|
|
|
# [message-push](https://tmp.020824.xyz)
|
|
|
|
|
考虑到平台和推送能力差异,使用message-push统一推送
|
|
|
|
|
## API
|
2024-04-15 17:52:19 +00:00
|
|
|
|
- 地址:`https://tmp.020824.xyz/push/XXXXXXXXX
|
2024-04-15 03:35:14 +00:00
|
|
|
|
- 参数:
|
|
|
|
|
```json
|
|
|
|
|
{
|
|
|
|
|
"title"="",
|
|
|
|
|
"description":"",
|
|
|
|
|
"content":"",
|
|
|
|
|
"channel":"",
|
|
|
|
|
"token":""
|
|
|
|
|
}
|
|
|
|
|
```
|
|
|
|
|
# [wxpush](https://wxpusher.zjiecode.com/admin/)
|
2024-04-15 17:52:19 +00:00
|
|
|
|
可推送微信,添加用户方便,单日发送上限高。使用`主题(Topics)管理`便于广播。
|
2024-04-15 03:35:14 +00:00
|
|
|
|
- 地址:`https://wxpusher.zjiecode.com/api/send/message`
|
|
|
|
|
- 参数:
|
|
|
|
|
```json
|
|
|
|
|
{
|
2024-04-15 17:52:19 +00:00
|
|
|
|
"appToken":"AT_XXXXXXXXX",//根据需要更改
|
2024-04-15 03:35:14 +00:00
|
|
|
|
"content":"$content",
|
|
|
|
|
"summary":"$description",
|
|
|
|
|
"contentType":3,
|
|
|
|
|
"topicIds":[
|
2024-04-15 03:43:40 +00:00
|
|
|
|
"28661"//根据需要更改
|
2024-04-15 03:35:14 +00:00
|
|
|
|
],
|
|
|
|
|
"url":"$url",
|
|
|
|
|
"verifyPayType":0
|
|
|
|
|
}
|
|
|
|
|
```
|
2024-04-15 03:43:40 +00:00
|
|
|
|
# [gotify](https://push.020824.xyz/gotify)
|
|
|
|
|
自带客户端
|
2024-04-15 17:52:19 +00:00
|
|
|
|
- 地址:`https://push.020824.xyz/gotify/message?token=XXXXXXXXX`。按需更改token
|
2024-04-15 03:43:40 +00:00
|
|
|
|
- 参数:
|
|
|
|
|
```json
|
|
|
|
|
{
|
|
|
|
|
"title": "$title",
|
|
|
|
|
"message": "> $description \n\n [details]($url) \n\n $content",
|
|
|
|
|
"priority": 0,
|
|
|
|
|
"extras": {
|
|
|
|
|
"client::display": {
|
|
|
|
|
"contentType": "text/markdown"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
```
|
|
|
|
|
# Discord
|
|
|
|
|
基于webhook,自带客户端
|
2024-04-15 17:52:19 +00:00
|
|
|
|
- 地址:`https://discord.com/api/webhooks/XXXXXXXXX/XXXXXXXXX`
|
2024-04-15 03:43:40 +00:00
|
|
|
|
- 参数:无
|