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 @@ } - -