Feat(入驻):扫码跳转增加子账号参数字段
This commit is contained in:
@@ -473,7 +473,8 @@ export default {
|
||||
mixins: [pageListenMixins],
|
||||
data() {
|
||||
return {
|
||||
partnerId: null,
|
||||
partnerId: '',
|
||||
promoterUid: '',
|
||||
pics: [],
|
||||
quaPics: [],
|
||||
tips: '获取验证码',
|
||||
@@ -603,7 +604,8 @@ export default {
|
||||
}
|
||||
},
|
||||
onLoad(options) {
|
||||
this.partnerId = options.partnerId
|
||||
this.partnerId = options.partnerId || ''
|
||||
this.promoterUid = options.promoterUid || ''
|
||||
const local_form = uni.getStorageSync('merchantApplyHotel' + '_form') || {}
|
||||
this.quaPics = uni.getStorageSync('merchantApplyHotel' + '_quaPics') || []
|
||||
if(!local_form.serviceTime) {
|
||||
@@ -694,7 +696,7 @@ export default {
|
||||
getCity().then(({data}) => {
|
||||
this.district = data
|
||||
})
|
||||
getShopData().then(({data}) => {
|
||||
getShopData({partnerId: this.partnerId, promoterUid: this.promoterUid}).then(({data}) => {
|
||||
this.hotelTypeList = data.hotelTypeList || []
|
||||
this.columnsType = this.hotelTypeList
|
||||
this.notice = data.merchantApplyNotice
|
||||
@@ -969,7 +971,7 @@ export default {
|
||||
if (postData.coverType === 2) {
|
||||
postData.cover = postData.coverVideo
|
||||
}
|
||||
saveShop(postData, this.partnerId).then(res => {
|
||||
saveShop(postData, this.partnerId, this.promoterUid).then(res => {
|
||||
if (res.status === 200) {
|
||||
uni.showToast({
|
||||
title: '您的入驻申请已提交成功,请耐心等待审核',
|
||||
|
||||
Reference in New Issue
Block a user