默认提交
Showing
1 changed file
with
23 additions
and
23 deletions
| ... | @@ -229,9 +229,9 @@ Page({ | ... | @@ -229,9 +229,9 @@ Page({ |
| 229 | } else if (!verifyCode) { | 229 | } else if (!verifyCode) { |
| 230 | this.showTips("请输入验证码"); | 230 | this.showTips("请输入验证码"); |
| 231 | reject(); | 231 | reject(); |
| 232 | // } else if (pics.length <= 0) { | 232 | // } else if (pics.length <= 0) { |
| 233 | // this.showTips("请上传身份证或电工证"); | 233 | // this.showTips("请上传身份证或电工证"); |
| 234 | // reject(); | 234 | // reject(); |
| 235 | } else { | 235 | } else { |
| 236 | resolve(); | 236 | resolve(); |
| 237 | } | 237 | } |
| ... | @@ -261,27 +261,27 @@ Page({ | ... | @@ -261,27 +261,27 @@ Page({ |
| 261 | 261 | ||
| 262 | this.checkSubmit().then((result) => { | 262 | this.checkSubmit().then((result) => { |
| 263 | // 先上传图片到服务器 | 263 | // 先上传图片到服务器 |
| 264 | this.uploadToCustomService(pics).then((result) => { | 264 | // this.uploadToCustomService(pics).then((result) => { |
| 265 | let verifyInfo = { | 265 | let verifyInfo = { |
| 266 | realName: name, | 266 | realName: name, |
| 267 | storeName: shopName, | 267 | storeName: shopName, |
| 268 | province: province, | 268 | province: province, |
| 269 | city: city, | 269 | city: city, |
| 270 | phone: mobile, | 270 | phone: mobile, |
| 271 | verifyCode: verifyCode, | 271 | verifyCode: verifyCode, |
| 272 | memberTypeCode: memberTypeCode, | 272 | memberTypeCode: memberTypeCode, |
| 273 | images: result[0] | 273 | images: "" |
| 274 | } | 274 | } |
| 275 | 275 | ||
| 276 | app.post({ | 276 | app.post({ |
| 277 | url: app.api.memberIdCommit, | 277 | url: app.api.memberIdCommit, |
| 278 | data: verifyInfo | 278 | data: verifyInfo |
| 279 | }).then((result2) => { | 279 | }).then((result2) => { |
| 280 | app.router.push({ | 280 | app.router.push({ |
| 281 | path: "vipVerify" | 281 | path: "vipVerify" |
| 282 | }) | 282 | }) |
| 283 | }); | 283 | }); |
| 284 | }) | 284 | // }) |
| 285 | }) | 285 | }) |
| 286 | 286 | ||
| 287 | }, | 287 | }, | ... | ... |
-
Please register or sign in to post a comment