作者 王智

222

... ... @@ -983,13 +983,13 @@ class Index extends Api
$second_arr[0] = $second_arr2[$k1];
}
print_r($second_arr[0]);
foreach ($second_arr as $k3 => $v3) {
$second_arr3[$k3]['xid'] = $v3['id'];
$second_arr3[$k3]['title'] = $v3['class_con'];
}
foreach ($second_arr3 as $k2 => $v2) {
$CL_list[$k1]['IsList'] = $second_arr3;
}
// foreach ($second_arr as $k3 => $v3) {
// $second_arr3[$k3]['xid'] = $v3['id'];
// $second_arr3[$k3]['title'] = $v3['class_con'];
// }
// foreach ($second_arr3 as $k2 => $v2) {
// $CL_list[$k1]['IsList'] = $second_arr3;
// }
}
}
print_r($CL_list);
... ...