|
@@ -205,7 +205,7 @@ export default {
|
|
|
uni.showLoading({
|
|
uni.showLoading({
|
|
|
title: '正在获取验证码'
|
|
title: '正在获取验证码'
|
|
|
})
|
|
})
|
|
|
- this.$api.service.getSmsCodeByType({phonenumber: this.userInfo.phonenumber, auth: true, type: 0}).then((res) => {
|
|
|
|
|
|
|
+ this.$api.service.getSmsCode({phonenumber: this.userInfo.phonenumber}).then((res) => {
|
|
|
uni.hideLoading();
|
|
uni.hideLoading();
|
|
|
// 这里此提示会被this.start()方法中的提示覆盖
|
|
// 这里此提示会被this.start()方法中的提示覆盖
|
|
|
uni.$u.toast('验证码已发送');
|
|
uni.$u.toast('验证码已发送');
|