ec3507b2 by simon

默认提交

1 parent 3e1d060c
......@@ -229,9 +229,9 @@ Page({
} else if (!verifyCode) {
this.showTips("请输入验证码");
reject();
// } else if (pics.length <= 0) {
// this.showTips("请上传身份证或电工证");
// reject();
// } else if (pics.length <= 0) {
// this.showTips("请上传身份证或电工证");
// reject();
} else {
resolve();
}
......@@ -261,27 +261,27 @@ Page({
this.checkSubmit().then((result) => {
// 先上传图片到服务器
this.uploadToCustomService(pics).then((result) => {
let verifyInfo = {
realName: name,
storeName: shopName,
province: province,
city: city,
phone: mobile,
verifyCode: verifyCode,
memberTypeCode: memberTypeCode,
images: result[0]
}
// this.uploadToCustomService(pics).then((result) => {
let verifyInfo = {
realName: name,
storeName: shopName,
province: province,
city: city,
phone: mobile,
verifyCode: verifyCode,
memberTypeCode: memberTypeCode,
images: ""
}
app.post({
url: app.api.memberIdCommit,
data: verifyInfo
}).then((result2) => {
app.router.push({
path: "vipVerify"
})
});
})
app.post({
url: app.api.memberIdCommit,
data: verifyInfo
}).then((result2) => {
app.router.push({
path: "vipVerify"
})
});
// })
})
},
......