mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-23 23:06:06 +08:00
修复 notify.js 飞书通知
This commit is contained in:
parent
2ba8756bd3
commit
f93cbbf508
|
@ -987,7 +987,7 @@ function fsBotNotify(text, desp) {
|
||||||
if (FSKEY) {
|
if (FSKEY) {
|
||||||
const options = {
|
const options = {
|
||||||
url: `https://open.feishu.cn/open-apis/bot/v2/hook/${FSKEY}`,
|
url: `https://open.feishu.cn/open-apis/bot/v2/hook/${FSKEY}`,
|
||||||
json: { msg_type: 'text', content: { text: `${title}\n\n${content}` } },
|
json: { msg_type: 'text', content: { text: `${text}\n\n${desp}` } },
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'application/json',
|
'Content-Type': 'application/json',
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user