提交 0252135c 编写于 作者: taohebin@dcloud.io's avatar taohebin@dcloud.io

fix: 替换推送的icon

上级 ab0f8bf5
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
// cover:true, // cover:true,
channelId: this.isXM ? "112735" : "msg-pass", channelId: this.isXM ? "112735" : "msg-pass",
when: Date.now() + 10000, when: Date.now() + 10000,
icon: "/static/xxxx.jpeg", icon: "/static/logo.jpg",
// delay:5, // delay:5,
payload: { payload: {
pkey: "pvalue1" pkey: "pvalue1"
......
...@@ -5,7 +5,7 @@ exports.main = async (event, context) => { ...@@ -5,7 +5,7 @@ exports.main = async (event, context) => {
appId: "__UNI__EE8E36A", appId: "__UNI__EE8E36A",
"getRequestBody": true, "getRequestBody": true,
}).sendMessage({ }).sendMessage({
"push_clientid": "fe755e0a33a45f52706f3d8712c3c433", "push_clientid": "60bd68ea05901cdf7b07cadb9f39c3a0",
"title": "留言", "title": "留言",
"content": "留言审核通过", "content": "留言审核通过",
"payload": { "payload": {
...@@ -20,7 +20,8 @@ exports.main = async (event, context) => { ...@@ -20,7 +20,8 @@ exports.main = async (event, context) => {
// 小米离线推送 // 小米离线推送
"XM": "112735", "XM": "112735",
// oppo离线推送 // oppo离线推送
"OP": "msg-pass" "OP": "msg-pass",
// "VV": "msg-pass"
}, },
"options": { "options": {
"HW": { "HW": {
...@@ -38,6 +39,9 @@ exports.main = async (event, context) => { ...@@ -38,6 +39,9 @@ exports.main = async (event, context) => {
}, },
"XM": { "XM": {
"/extra.channel_id": "112735" "/extra.channel_id": "112735"
},
"VV": {
"/category": "IM", //二级分类。
} }
} }
}) })
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册