mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-17 17:54:32 +08:00
修复 notify.js 飞书通知
This commit is contained in:
+1
-1
@@ -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',
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user