...
|
...
|
@@ -239,9 +239,14 @@ $('#apply-button').click(function() { |
|
|
// }
|
|
|
// });
|
|
|
|
|
|
$.get('/home/installment/starting-service/check-verify-code', {
|
|
|
mobile: formModel.mobile,
|
|
|
code: formModel.snsCheckCode
|
|
|
$.ajax({
|
|
|
method: 'get',
|
|
|
async: false,
|
|
|
url: '/home/installment/starting-service/check-verify-code',
|
|
|
data: {
|
|
|
mobile: formModel.mobile,
|
|
|
code: formModel.snsCheckCode
|
|
|
}
|
|
|
}).then(function(result) {
|
|
|
if (result.code === 200 && result.data.result === '1') {
|
|
|
return $.ajax({
|
...
|
...
|
@@ -252,10 +257,16 @@ $('#apply-button').click(function() { |
|
|
});
|
|
|
} else {
|
|
|
clearVerifyCode();
|
|
|
tip.show(result.data.message);
|
|
|
tip.show(result.message);
|
|
|
}
|
|
|
}).then(function(result) {
|
|
|
var params = {
|
|
|
var params;
|
|
|
|
|
|
if (!result) {
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
params = {
|
|
|
action: 'go.instalmentActivated',
|
|
|
params: {
|
|
|
status: result.data && result.data.status || 0
|
...
|
...
|
|