提交 ab64d60d authored 作者: 王鹏飞's avatar 王鹏飞

fix: 调整发送验证码字段

上级 34fff3a2
...@@ -80,7 +80,9 @@ export default { ...@@ -80,7 +80,9 @@ export default {
/* 老版发送验证码 */ /* 老版发送验证码 */
mobile: this.setAccount.user, mobile: this.setAccount.user,
/* 新版发送验证码 */ /* 新版发送验证码 */
account: this.setAccount.user account: this.setAccount.user,
signName: 'wmp',
template: 'SMS_200181319'
}).then(res => { }).then(res => {
/* 发送验证码不管是否成功,都开始倒计时 */ /* 发送验证码不管是否成功,都开始倒计时 */
let time = 60 let time = 60
......
...@@ -122,7 +122,7 @@ export default { ...@@ -122,7 +122,7 @@ export default {
/* 发送验证码 */ /* 发送验证码 */
sendCode () { sendCode () {
if (!this.isSendCode) { if (!this.isSendCode) {
Login.sendResetPwdCode({ account: this.accountSet.account }).then(res => { Login.sendResetPwdCode({ account: this.accountSet.account, signName: 'wmp', template: 'SMS_200191908' }).then(res => {
if (res.code === 0) { if (res.code === 0) {
/* 发送验证码不管是否成功,都开始倒计时 */ /* 发送验证码不管是否成功,都开始倒计时 */
let time = 60 let time = 60
......
...@@ -189,7 +189,7 @@ export default { ...@@ -189,7 +189,7 @@ export default {
} }
if (this.vCode.flag) { if (this.vCode.flag) {
mobile.isTips = false mobile.isTips = false
cAction.Other.sendCode({ account: mobile.value, signName: '紫荆教育', template: 'SMS_200186414' }).then(res => { cAction.Other.sendCode({ account: mobile.value, signName: 'wmp', template: 'SMS_200186414' }).then(res => {
if (res.code === 0) { if (res.code === 0) {
this.vCode.flag = false this.vCode.flag = false
this.tick() this.tick()
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论