mirror of
https://github.com/whyour/qinglong.git
synced 2025-07-30 00:16:07 +08:00
Update notify.js
This commit is contained in:
parent
db056d63a7
commit
769e30fee6
|
@ -437,7 +437,7 @@ function ChatNotify(text, desp, time = 2100) {
|
||||||
desp = encodeURI(desp);
|
desp = encodeURI(desp);
|
||||||
const options = {
|
const options = {
|
||||||
url: `${CHAT_URL}${CHAT_TOKEN}`,
|
url: `${CHAT_URL}${CHAT_TOKEN}`,
|
||||||
body: `payload={"text":"${desp}"}`,
|
body: `payload={"text":"${text}\n${desp}"}`,
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'application/x-www-form-urlencoded',
|
'Content-Type': 'application/x-www-form-urlencoded',
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user