|
|
@ -33,9 +33,10 @@ export default { |
|
|
} |
|
|
} |
|
|
if (client === 'ios') { |
|
|
if (client === 'ios') { |
|
|
if (msg.aps == null && msg.type == 'receive') { |
|
|
if (msg.aps == null && msg.type == 'receive') { |
|
|
let content = msg.content |
|
|
|
|
|
let title = msg.title |
|
|
|
|
|
|
|
|
let content = msg.payload.content |
|
|
|
|
|
let title = msg.payload.title |
|
|
let payload = JSON.stringify(msg.payload) |
|
|
let payload = JSON.stringify(msg.payload) |
|
|
|
|
|
console.log('ios receive:', title, payload, content) |
|
|
plus.push.createMessage(content, payload, { |
|
|
plus.push.createMessage(content, payload, { |
|
|
title: title, |
|
|
title: title, |
|
|
}) |
|
|
}) |
|
|
|