作者 王智

222

... ... @@ -984,6 +984,7 @@ class Index extends Api
$second_arr2[$k1] = Db::name('class_con')->where(['class_ids' => $v1['id']])->select();
if (!empty($second_arr2[$k1])) {
$second_arr = $second_arr2[$k1];
print_r($second_arr);
foreach ($second_arr as $k2 => $v2) {
$second_arr3[$k]['xid'] = $v2['id'];
$second_arr3[$k]['title'] = $v2['class_con'];
... ...