Showing
2 changed files
with
3 additions
and
3 deletions
@@ -126,8 +126,8 @@ exports.tokenBefore = (req, res, next) => { | @@ -126,8 +126,8 @@ exports.tokenBefore = (req, res, next) => { | ||
126 | 126 | ||
127 | // AJAX 获取验证码 | 127 | // AJAX 获取验证码 |
128 | exports.token = (req, res, next) => { | 128 | exports.token = (req, res, next) => { |
129 | - let mobile = req.query.area; | ||
130 | - let area = req.query.mobile; | 129 | + let area = req.query.area; |
130 | + let mobile = req.query.mobile; | ||
131 | 131 | ||
132 | PhoneService.sendSMS(mobile, area, 1).then(result => { | 132 | PhoneService.sendSMS(mobile, area, 1).then(result => { |
133 | if (result.code === 200) { | 133 | if (result.code === 200) { |
1 | <div class="sms-login passport-page yoho-page"> | 1 | <div class="sms-login passport-page yoho-page"> |
2 | {{> passport/header}} | 2 | {{> passport/header}} |
3 | <div class="content"> | 3 | <div class="content"> |
4 | - <p class="sms-login-msg">验证码已发至 <span class="tel">+86 133601454888</span></p> | 4 | + <p class="sms-login-msg">验证码已发至 <span class="tel">+{{area}} {{mobile}}</span></p> |
5 | <div class="input-container input-group sms-input row"> | 5 | <div class="input-container input-group sms-input row"> |
6 | <input id="sms-code" class="input" type="text" placeholder="验证码"> | 6 | <input id="sms-code" class="input" type="text" placeholder="验证码"> |
7 | <span class="input-addon"> | 7 | <span class="input-addon"> |
-
Please register or login to post a comment