作者 王智

222

@@ -1011,6 +1011,7 @@ class Index extends Api @@ -1011,6 +1011,7 @@ class Index extends Api
1011 $fitst4[$k1] = Db::name('classa')->where(['id' => $v1['class_id']])->select(); 1011 $fitst4[$k1] = Db::name('classa')->where(['id' => $v1['class_id']])->select();
1012 $fitst5 = $this->three_arr($fitst4); 1012 $fitst5 = $this->three_arr($fitst4);
1013 } 1013 }
  1014 + $fitst5=$this->second_array_unique_bykey($fitst5,'id');
1014 foreach ($fitst5 as $k3 => $v3) { 1015 foreach ($fitst5 as $k3 => $v3) {
1015 $LG_list[$k]['IsList'][$k3]['xid'] = $v3['id']; 1016 $LG_list[$k]['IsList'][$k3]['xid'] = $v3['id'];
1016 $LG_list[$k]['IsList'][$k3]['title'] = $v3['class']; 1017 $LG_list[$k]['IsList'][$k3]['title'] = $v3['class'];