|
@@ -239,7 +239,6 @@ async function tryNewNotice() {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- magicJS.notification.msg(item.title, item.content);
|
|
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -247,8 +246,8 @@ async function doCustomWxpusherSend(title, content) {
|
|
|
let data = {
|
|
let data = {
|
|
|
appToken: "AT_7wDWqSoT8xpJCQqJtHpshKhw7kXc0XCW",
|
|
appToken: "AT_7wDWqSoT8xpJCQqJtHpshKhw7kXc0XCW",
|
|
|
content: content,// 这是主体内容
|
|
content: content,// 这是主体内容
|
|
|
- summary: summary,// 该参数可选,默认为 msg 的前10个字符
|
|
|
|
|
- contentType: 1,
|
|
|
|
|
|
|
+ summary: title,// 该参数可选,默认为 msg 的前10个字符
|
|
|
|
|
+ contentType: 2,
|
|
|
// topicIds: [32852],
|
|
// topicIds: [32852],
|
|
|
topicIds: [],
|
|
topicIds: [],
|
|
|
uids: [
|
|
uids: [
|
|
@@ -258,7 +257,7 @@ async function doCustomWxpusherSend(title, content) {
|
|
|
verifyPay: false,
|
|
verifyPay: false,
|
|
|
verifyPayType: 0,
|
|
verifyPayType: 0,
|
|
|
};
|
|
};
|
|
|
- return magicJS.doWxpusherSend(data);
|
|
|
|
|
|
|
+ return await magicJS.doWxpusherSend(data);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
async function getNoticeListByCategory(type, page, pageSize, tenantId) {
|
|
async function getNoticeListByCategory(type, page, pageSize, tenantId) {
|