From 9438c69d75c55556a6c8615f0fb91ef294bac261 Mon Sep 17 00:00:00 2001 From: Wik-T <812952667@qq.com> Date: Thu, 8 Jun 2023 16:43:53 +0800 Subject: [PATCH] =?UTF-8?q?1.=E5=AF=B9=E6=8E=A5app.=20=E6=8E=A5=E5=8F=97?= =?UTF-8?q?=E9=80=9A=E7=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 28 +++++++++++----------------- manifest.json | 14 ++++++++++++-- 2 files changed, 23 insertions(+), 19 deletions(-) diff --git a/App.vue b/App.vue index 525a679..6682f5e 100644 --- a/App.vue +++ b/App.vue @@ -17,7 +17,7 @@ businessid: '', //行业名称 businessname: '', - //mccid + //mccid mccid: '', //mcc名称 mccname: '', @@ -38,7 +38,16 @@ //门店地址信息 storeAddress: '' }, - onLaunch: function() { + onLaunch: function() { + uni.getPushClientId({ + success: res => { + console.log('=========='+res.cid) + }, + fail(err) { + console.log(err) + } + }) + let that = this; uni.getStorage({ key: 'payuser', @@ -59,21 +68,6 @@ } - -