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

fix: 调整发送验证码字段

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