From d2e115151ebd3c26706e102ccdb91dd6bed8ebef Mon Sep 17 00:00:00 2001 From: tianyi <13521030702@163.com> Date: Wed, 25 Mar 2026 18:09:35 +0800 Subject: [PATCH] 11 --- package1/myCenter/myMerchant.vue | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) 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;