| | |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </template> |
| | | |
| | | <script> |
| | |
| | | // 获取分享配置 |
| | | getShareConfig() { |
| | | let _this = this; |
| | | _this._post('plus.business/business/getShareConfig', { |
| | | _this._post('plus.business.business/getShareConfig', { |
| | | business_card_id: _this.currentCardId |
| | | }, function(res) { |
| | | if (res.data) { |
| | |
| | | expiry_index: _this.shareConfig.expiryIndex |
| | | }; |
| | | |
| | | _this._post('plus.business/business/saveShareConfig', params, function(res) { |
| | | _this._post('plus.business.business/saveShareConfig', params, function(res) { |
| | | if (res.code === 0) { |
| | | uni.showToast({ title: '保存成功' }); |
| | | uni.navigateBack(); |