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