|
@@ -1139,12 +1139,16 @@ $(function(){
|
|
|
},
|
|
|
ajaxLoginSms: function (e, arr) {
|
|
|
if ($('#bidLogin').attr('data-name') === 'bind-phone') {
|
|
|
- $.post("/jypay/user/phone/bind",{
|
|
|
+ var captInfo = getCaptchaInfo()
|
|
|
+ var payload = {
|
|
|
step: 2,
|
|
|
phone: arr[0].value,
|
|
|
code: arr[arr.length-1].value,
|
|
|
+ identCode:arr[arr.length-1].value,
|
|
|
+ captchaKey: captInfo.captKey,
|
|
|
mode: isBindPage ? 'mergeBind' : ''
|
|
|
- },function(r){
|
|
|
+ }
|
|
|
+ $.post("/jypay/user/phone/bind",payload,function(r){
|
|
|
e.setAttribute('data-loading', 'false')
|
|
|
if (r && r.error_code > -1) {
|
|
|
if(r.data.state==1){
|