Parcourir la source

Merge branch 'hotfix/v4.10.6.3' of https://jygit.jydev.jianyu360.cn/qmx/jy into hotfix/v4.10.6.3

wangshan il y a 4 mois
Parent
commit
5cab85b271
1 fichiers modifiés avec 6 ajouts et 2 suppressions
  1. 6 2
      src/web/staticres/js/login.js

+ 6 - 2
src/web/staticres/js/login.js

@@ -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){