This commit is contained in:
7777777
2022-03-02 00:47:58 +08:00
parent 9c6cf17422
commit 4642687051

View File

@ -20,9 +20,10 @@ async function sendNotify(
) {
//提供6种通知
desp += author; //增加作者信息,防止被贩卖等
/*
await Promise.all([
pushPlusNotify(text, desp), //pushplus(推送加)
]);
]);*/
//由于上述两种微信通知需点击进去才能查看到详情故text(标题内容)携带了账号序号以及昵称信息,方便不点击也可知道是哪个京东哪个活动
text = text.match(/.*?(?=\s?-)/g) ? text.match(/.*?(?=\s?-)/g)[0] : text;
await Promise.all([