diff --git a/package1/myCenter/myMerchant.vue b/package1/myCenter/myMerchant.vue
index 60cce5f..96ba6cf 100644
--- a/package1/myCenter/myMerchant.vue
+++ b/package1/myCenter/myMerchant.vue
@@ -10,6 +10,19 @@
+
+
+ 学生商家
+
+
+
+
+
+
门头图
@@ -186,7 +199,7 @@
aliAccount:'',
aliName:'',
nickname:'',
- mobile:'',
+ mobile:uni.getStorageSync('mobile')?uni.getStorageSync('mobile'):'',
code:'',
password:'123456',
zhengzhao:'',
@@ -196,7 +209,9 @@
shopLecard:'',
qita:[],
shopImages:'',
- id:''
+ id:'',
+ isStudent:0, //1学生商家 0不是学生
+ unionid:''
},
choose:false,
isChoose:false,
@@ -304,10 +319,11 @@
} else {
url = '/auth/shopRegister'
}
-
+ this.formData.unionid = uni.getStorageSync('unionid')
this.formData.shopImages = this.formData.zhengzhao + '@@' + this.formData.fanzhao + '@@' + this.formData.yingyezhizhao + '@@' + JSON.stringify(this.formData.qita)
that.tui.request(url, "post", this.formData, false, true).then((res1) => {
if (res1.code == 200) {
+ uni.setStorageSync('schoolShopId',res1.result.shopId)
uni.showModal({
title: '提示',
content: '提交成功,请等待管理员审核',
@@ -324,6 +340,9 @@
})
},
+ clickRadio(type){
+ this.formData.isStudent = type
+ },
//获取区域
getRegionList() {
let that = this;