Commit 8e566848 authored by jiacheng.mao's avatar jiacheng.mao

演示版本固定验证码

parent d19c526c
...@@ -152,7 +152,7 @@ export default { ...@@ -152,7 +152,7 @@ export default {
vm.showTimer = false vm.showTimer = false
clearInterval(counter) clearInterval(counter)
vm.showTimer = false vm.showTimer = false
vm.captchaKey = ('000000' + Math.floor(Math.random() * 999999)).slice(-6) vm.captchaKey = '123456'
hlsPopup.showLongCenter('验证码失效,请重新获取') hlsPopup.showLongCenter('验证码失效,请重新获取')
vm.timerCount = vm.timer / 1000 vm.timerCount = vm.timer / 1000
}, vm.timer) }, vm.timer)
...@@ -225,9 +225,9 @@ export default { ...@@ -225,9 +225,9 @@ export default {
}, },
getVerifiedCode () { getVerifiedCode () {
let vm = this let vm = this
// hlsPopup.showLongCenter('测试验证码为123456') hlsPopup.showLongCenter('测试验证码为123456')
let url = process.env.basePath + 'sms_verify_post' let url = process.env.basePath + 'sms_verify_post'
let signcode = ('000000' + Math.floor(Math.random() * 999999)).slice(-6) let signcode = '123456'
vm.captchaKey = signcode vm.captchaKey = signcode
let param = { let param = {
'phone': vm.phone_number, 'phone': vm.phone_number,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment