diff --git a/epdc-resident-mp-yushan/pages/toRegister/toRegister.js b/epdc-resident-mp-yushan/pages/toRegister/toRegister.js index 24561dc..0474247 100644 --- a/epdc-resident-mp-yushan/pages/toRegister/toRegister.js +++ b/epdc-resident-mp-yushan/pages/toRegister/toRegister.js @@ -21,7 +21,7 @@ Page({ } }) let that = this - const versionNum = '1.2.11' + const versionNum = '1.2.12' api.getScanSwitch(versionNum).then(function (res) { console.log(res.data) let state = res.data.scanFlag diff --git a/epdc-resident-mp-yushan/subpages/association/components/inviteFriendDialog/inviteFriendDialog.js b/epdc-resident-mp-yushan/subpages/association/components/inviteFriendDialog/inviteFriendDialog.js index 7a903fd..68e59d7 100644 --- a/epdc-resident-mp-yushan/subpages/association/components/inviteFriendDialog/inviteFriendDialog.js +++ b/epdc-resident-mp-yushan/subpages/association/components/inviteFriendDialog/inviteFriendDialog.js @@ -4,7 +4,9 @@ Component({ data: { qrcodeValue: 'https://www.baidu.com', visible: false, - qrCodeImage: '' + qrCodeImage: '', + inviteUserId: '', + gridId: '' }, properties: { dialogVisible: { diff --git a/epdc-resident-mp-yushan/subpages/property/components/inviteFriendDialog/inviteFriendDialog.js b/epdc-resident-mp-yushan/subpages/property/components/inviteFriendDialog/inviteFriendDialog.js index dd2eea6..68e59d7 100644 --- a/epdc-resident-mp-yushan/subpages/property/components/inviteFriendDialog/inviteFriendDialog.js +++ b/epdc-resident-mp-yushan/subpages/property/components/inviteFriendDialog/inviteFriendDialog.js @@ -4,7 +4,9 @@ Component({ data: { qrcodeValue: 'https://www.baidu.com', visible: false, - qrCodeImage: '' + qrCodeImage: '', + inviteUserId: '', + gridId: '' }, properties: { dialogVisible: { @@ -77,8 +79,8 @@ Component({ }, createQRCode () { const para = { - gridId: '1169158285790900226', - inviteUserId: '31f31a620399d18a39329f663437da72' + gridId: this.data.gridId, + inviteUserId: this.data.inviteUserId } createQRCode(para).then(res => { console.log('生成邀请二维码', res)