|
|
@ -15,9 +15,6 @@ class DingDing extends NotificationProvider {
|
|
|
|
const mobileList = notification.mentioning === "specify-mobiles" ? notification.mobileList.split(",") : []
|
|
|
|
const mobileList = notification.mentioning === "specify-mobiles" ? notification.mobileList.split(",") : []
|
|
|
|
const userList = notification.mentioning === "specify-users" ? notification.userList.split(",") : []
|
|
|
|
const userList = notification.mentioning === "specify-users" ? notification.userList.split(",") : []
|
|
|
|
const mentionStr = [...mobileList || [], ...userList || []].map(item => `@${item}`).join(" ")
|
|
|
|
const mentionStr = [...mobileList || [], ...userList || []].map(item => `@${item}`).join(" ")
|
|
|
|
console.log('mobileList: ',mobileList)
|
|
|
|
|
|
|
|
console.log('userList: ',userList)
|
|
|
|
|
|
|
|
console.log('mentionStr: ',mentionStr)
|
|
|
|
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
if (heartbeatJSON != null) {
|
|
|
|
if (heartbeatJSON != null) {
|
|
|
|
notification.mobileList
|
|
|
|
notification.mobileList
|
|
|
|