作者 王智

222

@@ -1007,6 +1007,14 @@ class Index extends Api @@ -1007,6 +1007,14 @@ class Index extends Api
1007 $second_arr[$k] = $second_arr2[$k]; 1007 $second_arr[$k] = $second_arr2[$k];
1008 } 1008 }
1009 } 1009 }
  1010 + foreach ($second_arr as $k=>$v){
  1011 + foreach ($v as $k3 => $v3) {
  1012 + $second_arr3[$k3]['xid'] = $v3['id'];
  1013 + $second_arr3[$k3]['title'] = $v3['class_con'];
  1014 + }
  1015 + }
  1016 + print_r($second_arr3);
  1017 + die;
1010 foreach ($second_arr as $k2 => $v2) { 1018 foreach ($second_arr as $k2 => $v2) {
1011 $CL_list[$k2]['IsList'] = $v2; 1019 $CL_list[$k2]['IsList'] = $v2;
1012 } 1020 }