...
|
...
|
@@ -1006,10 +1006,10 @@ class Index extends Api |
|
|
foreach ($CL_list1 as $k1 => $v1) {
|
|
|
$second_arr2[0] = Db::name('class_con')->where(['class_ids' => $v1['id']])->select();
|
|
|
if (!empty($second_arr2[0])) {
|
|
|
$second_arr = $second_arr2[0];
|
|
|
$second_arr[$k1] = $second_arr2[0];
|
|
|
}
|
|
|
print_r($second_arr);
|
|
|
foreach ($second_arr as $k3 => $v3) {
|
|
|
print_r($second_arr[$k1]);
|
|
|
foreach ($second_arr[$k1] as $k3 => $v3) {
|
|
|
$second_arr3[$k3]['xid'] = $v3['id'];
|
|
|
$second_arr3[$k3]['title'] = $v3['class_con'];
|
|
|
}
|
...
|
...
|
|