| | |
| | | <!-- #endif --> |
| | | <!-- #ifdef PUB_CUSTOMER --> |
| | | <!-- open-type="getUserInfo"--> |
| | | <button @tap="wxreg('')" |
| | | class="bottom-button">注 册</button> |
| | | <button @tap="wxreg('')" class="bottom-button">注 册</button> |
| | | |
| | | <!-- #endif --> |
| | | |
| | |
| | | return |
| | | } |
| | | var dto = JSON.parse(tjson) |
| | | dto.partnerId = this.partnerId || undefined |
| | | // dto.userId = this.partnerId || undefined |
| | | // dto.partnerId = this.partnerId || undefined |
| | | dto.partnerUserId = this.partnerId || undefined |
| | | post.dto = dto |
| | | } |
| | | post.wxcode = wxcode |
| | |
| | | data
|
| | | } = await that.$http.request('post', '/api/customer/bind/partner', {
|
| | | data: {
|
| | | partnerId: partnerId
|
| | | partnerUserId: partnerId
|
| | | }
|
| | | })
|
| | | that.$message.hideLoading()
|
| | |
| | | foreground: '#000000', |
| | | text: JSON.stringify({ |
| | | 'name': that.name, |
| | | // 'userId': that.currentInfo.id, |
| | | 'userId': that.currentInfo.partnerDTO.id, |
| | | 'userId': that.currentInfo.id, |
| | | // 'userId': that.currentInfo.partnerDTO.id, |
| | | 'version': '1.1.0' |
| | | }), |
| | | // text: `https://www.hmyxianhua.com/wx-c-jump/sub_pages/customer/customer-info/customer-info?name=${that.name}&userId=${that.currentInfo.id}` |