作者 王晓刚
1 个管道 的构建 通过 耗费 0 秒

提现失败问题

@@ -54,8 +54,8 @@ @@ -54,8 +54,8 @@
54 type:"GET", 54 type:"GET",
55 data:{'pid':province_id}, 55 data:{'pid':province_id},
56 success:function(data) { 56 success:function(data) {
57 - var result = data;  
58 - if(result.code==20000){ 57 + if(data.code==20000){
  58 + var result = data.data;
59 var mydata = "<option value=''>请选择</option>"; 59 var mydata = "<option value=''>请选择</option>";
60 for (var i = 0; i < result.data.length; i++) { 60 for (var i = 0; i < result.data.length; i++) {
61 var data = result.data[i]; 61 var data = result.data[i];
@@ -77,8 +77,8 @@ @@ -77,8 +77,8 @@
77 type:"GET", 77 type:"GET",
78 data:{'pid':city_id}, 78 data:{'pid':city_id},
79 success:function(data) { 79 success:function(data) {
80 - var result = data;  
81 - if(result.code==1){ 80 + if(data.code==1){
  81 + var result = data.data;
82 var mydata = "<option value=''>请选择</option>"; 82 var mydata = "<option value=''>请选择</option>";
83 for (var i = 0; i < result.data.length; i++) { 83 for (var i = 0; i < result.data.length; i++) {
84 var data = result.data[i]; 84 var data = result.data[i];