Parcourir la source

Merge branch 'master' of http://git.9026.com/richod/dcj

zhjx il y a 6 ans
Parent
commit
66621a7721
1 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 3 3
      resources/views/web/order/index.blade.php

+ 3 - 3
resources/views/web/order/index.blade.php

xqd
@@ -255,11 +255,11 @@
                 url:"{{ url('/web/Index/getCode') }}",
                 success:function (msg) {
                     var data = eval('('+msg+')');
-                    console.log(data);
-                    if(msg.state ==1){
+                    console.log(data['msg']);
+                    if(data['state'] ==1){
                         alert('发送成功');
                     }else{
-                        alert(msg.msg);
+                        alert(data['msg']);
                     }
                 }
             });