...
|
...
|
@@ -20,7 +20,15 @@ var api = require('../api'), |
|
|
var trim = $.trim;
|
|
|
var showErrTip = tip.show;
|
|
|
|
|
|
var requesting = false;
|
|
|
|
|
|
function nextStep(url, mobileNo, areaCode) {
|
|
|
if (requesting) {
|
|
|
return false;
|
|
|
}
|
|
|
|
|
|
requesting = true;
|
|
|
|
|
|
$.ajax({
|
|
|
type: 'POST',
|
|
|
url: '/passport/bind/sendBindMsg',
|
...
|
...
|
@@ -31,9 +39,13 @@ function nextStep(url, mobileNo, areaCode) { |
|
|
success: function(res) {
|
|
|
console.log(res.data);
|
|
|
location.href = url;
|
|
|
|
|
|
requesting = false;
|
|
|
},
|
|
|
error: function() {
|
|
|
tip.show('出错了,请重试!');
|
|
|
|
|
|
requesting = false;
|
|
|
}
|
|
|
});
|
|
|
}
|
...
|
...
|
|