登录修改
This commit is contained in:
@@ -293,6 +293,8 @@ export default {
|
||||
const hide = this.$message.loading('验证码发送中..', 0)
|
||||
let smsParams = {}
|
||||
smsParams.phone = values.username
|
||||
// 登录--1
|
||||
smsParams.codeType = 1
|
||||
let interval
|
||||
getAction('/company/sendVerificationCode', smsParams)
|
||||
.then(res => {
|
||||
|
||||
@@ -255,7 +255,9 @@ export default {
|
||||
if (!err) {
|
||||
const hide = this.$message.loading('验证码发送中..', 0)
|
||||
let smsParams = {
|
||||
phone: phone
|
||||
phone: phone,
|
||||
// 忘记密码是2
|
||||
codeType: 2
|
||||
}
|
||||
getAction('/company/sendVerificationCode', smsParams).then(res => {
|
||||
if (!res.success) {
|
||||
|
||||
Reference in New Issue
Block a user