Authored by 陈轩

fix

... ... @@ -126,8 +126,8 @@ exports.tokenBefore = (req, res, next) => {
// AJAX 获取验证码
exports.token = (req, res, next) => {
let mobile = req.query.area;
let area = req.query.mobile;
let area = req.query.area;
let mobile = req.query.mobile;
PhoneService.sendSMS(mobile, area, 1).then(result => {
if (result.code === 200) {
... ...
<div class="sms-login passport-page yoho-page">
{{> passport/header}}
<div class="content">
<p class="sms-login-msg">验证码已发至&nbsp;<span class="tel">+86 133601454888</span></p>
<p class="sms-login-msg">验证码已发至&nbsp;<span class="tel">+{{area}} {{mobile}}</span></p>
<div class="input-container input-group sms-input row">
<input id="sms-code" class="input" type="text" placeholder="验证码">
<span class="input-addon">
... ...