注册联调、字段修改 code review by liuyue
Showing
1 changed file
with
4 additions
and
4 deletions
@@ -136,7 +136,7 @@ function picCaptchaAjaxFn(page, callback) { | @@ -136,7 +136,7 @@ function picCaptchaAjaxFn(page, callback) { | ||
136 | type: 'POST', | 136 | type: 'POST', |
137 | url: url, | 137 | url: url, |
138 | data: { | 138 | data: { |
139 | - code: $ca.val() | 139 | + verifyCode: $ca.val() |
140 | 140 | ||
141 | //mobile: $pn.val(), | 141 | //mobile: $pn.val(), |
142 | //area: $region.text().split('+')[1] | 142 | //area: $region.text().split('+')[1] |
@@ -169,7 +169,7 @@ function msgCaptchaAjaxFn(page, callback) { | @@ -169,7 +169,7 @@ function msgCaptchaAjaxFn(page, callback) { | ||
169 | type: 'POST', | 169 | type: 'POST', |
170 | url: url, | 170 | url: url, |
171 | data: { | 171 | data: { |
172 | - code: $ca.val(), | 172 | + verifyCode: $ca.val(), |
173 | mobile: $pn.val(), | 173 | mobile: $pn.val(), |
174 | area: $region.text().split('+')[1] | 174 | area: $region.text().split('+')[1] |
175 | } | 175 | } |
@@ -465,7 +465,7 @@ exports.init = function(page) { | @@ -465,7 +465,7 @@ exports.init = function(page) { | ||
465 | 465 | ||
466 | $regionSelect.change(function() { | 466 | $regionSelect.change(function() { |
467 | 467 | ||
468 | - $region.text('+' + $('#region').val()); | 468 | + $region.text($('#region').val()); |
469 | 469 | ||
470 | validateRule(page, $pn, showErrTip); //验证 | 470 | validateRule(page, $pn, showErrTip); //验证 |
471 | }); | 471 | }); |
@@ -493,7 +493,7 @@ exports.init = function(page) { | @@ -493,7 +493,7 @@ exports.init = function(page) { | ||
493 | data: { | 493 | data: { |
494 | area: $region.text().split('+')[1], | 494 | area: $region.text().split('+')[1], |
495 | mobile: $pn.val(), | 495 | mobile: $pn.val(), |
496 | - code: $ca.val() | 496 | + verifyCode: $ca.val() |
497 | } | 497 | } |
498 | }).then(function(data) { | 498 | }).then(function(data) { |
499 | if (data.code === 200) { | 499 | if (data.code === 200) { |
-
Please register or login to post a comment