1 $kesu_list=DD(‘Kesu.Kesu‘)->kesu_list(); 2 foreach($kesu_list[0] as $key=>$val){ 3 $reason_id_list[][‘reason_id‘]=$val[‘reason_id‘]; 4 } 5 foreach($reason_id_list as $k=>$v){ 6 $reason_id_list_new[]=explode(",",$v[‘reason_id‘]); 7 } 8 if($reason_id_list_new){ 9 $tousu_content=DD(‘Kesu.Kesu‘)->reason_id_list_new($reason_id_list_new); 10 } 11 foreach($tousu_content as $k3=>$v3){ 12 $tousu_content_list[][‘reason_info‘] = implode(",",$v3); 13 } 14 foreach($kesu_list[0] as $k4=>$v4){ 15 $kesu_list_new[] = array_merge($v4,$tousu_content_list[$k4]); 16 }
时间: 2024-11-02 23:45:17