新增手动创建通知栏消息
This commit is contained in:
parent
687371b1e6
commit
59982f4f46
@ -13,7 +13,7 @@
|
|||||||
"h5" : {
|
"h5" : {
|
||||||
"launchtype" : "local"
|
"launchtype" : "local"
|
||||||
},
|
},
|
||||||
"provider" : "alipay",
|
"provider" : "aliyun",
|
||||||
"type" : "uniCloud"
|
"type" : "uniCloud"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
"name" : "oa考勤系统",
|
"name" : "oa考勤系统",
|
||||||
"appid" : "__UNI__4796942",
|
"appid" : "__UNI__4796942",
|
||||||
"description" : "",
|
"description" : "",
|
||||||
"versionName" : "2.2.2",
|
"versionName" : "2.3.0",
|
||||||
"versionCode" : 223,
|
"versionCode" : 230,
|
||||||
"transformPx" : false,
|
"transformPx" : false,
|
||||||
/* 5+App特有相关 */
|
/* 5+App特有相关 */
|
||||||
"app-plus" : {
|
"app-plus" : {
|
||||||
|
@ -128,6 +128,10 @@ commun.registerHandler('goCard', async (data) => {
|
|||||||
await getCard(data.phone)
|
await getCard(data.phone)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
commun.registerHandler('createPushMessage', async (data) => {
|
||||||
|
uni.createPushMessage(JSON.parse(decodeURIComponent(data)))
|
||||||
|
})
|
||||||
|
|
||||||
// 获取电子名片
|
// 获取电子名片
|
||||||
async function getCard(phone) {
|
async function getCard(phone) {
|
||||||
uni.request({
|
uni.request({
|
||||||
|
Loading…
Reference in New Issue
Block a user