mirror of
https://github.com/whyour/qinglong.git
synced 2025-07-28 23:46:06 +08:00
修改了PushDeer判断推送成功的方式
This commit is contained in:
parent
8c3690366c
commit
751d77a9bf
|
@ -129,7 +129,7 @@ export default class NotificationService {
|
||||||
headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
|
headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
|
||||||
})
|
})
|
||||||
.json();
|
.json();
|
||||||
return res.result.success === 'ok';
|
return res.content.result.length > 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
private async bark() {
|
private async bark() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user