mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-01 04:40:38 +08:00
更新飞书 bot 验证过程,兼容新状态码 (#2302)
This commit is contained in:
+1
-1
@@ -1121,7 +1121,7 @@ function fsBotNotify(text, desp) {
|
||||
console.log(err);
|
||||
} else {
|
||||
data = JSON.parse(data);
|
||||
if (data.StatusCode === 0) {
|
||||
if (data.StatusCode === 0 || data.code === 0) {
|
||||
console.log('飞书发送通知消息成功🎉\n');
|
||||
} else {
|
||||
console.log(`${data.msg}\n`);
|
||||
|
||||
Reference in New Issue
Block a user