|
|
|
@ -544,12 +544,12 @@ class Server |
|
|
|
|
if ($result && !empty($result['category_list'])) { |
|
|
|
|
$category_list = $result['category_list']; |
|
|
|
|
foreach ($category_list as $value) { |
|
|
|
|
$first_class = !empty($value['first_class']) ?? ''; |
|
|
|
|
$second_class = !empty($value['second_class']) ?? ''; |
|
|
|
|
$third_class = !empty($value['third_class']) ?? ''; |
|
|
|
|
$first_id = !empty($value['first_id']) ?? ''; |
|
|
|
|
$second_id = !empty($value['second_id']) ?? ''; |
|
|
|
|
$third_id = !empty($value['third_id']) ?? ''; |
|
|
|
|
$first_class = !empty($value['first_class']) ? $value['first_class'] : ''; |
|
|
|
|
$second_class = !empty($value['second_class']) ? $value['second_class'] : ''; |
|
|
|
|
$third_class = !empty($value['third_class']) ? $value['third_class'] : ''; |
|
|
|
|
$first_id = !empty($value['first_id']) ? $value['first_id'] : ''; |
|
|
|
|
$second_id = !empty($value['second_id']) ? $value['second_id'] : ''; |
|
|
|
|
$third_id = !empty($value['third_id']) ? $value['third_id'] : ''; |
|
|
|
|
$data[] = [ |
|
|
|
|
'first_class' => $first_class, |
|
|
|
|
'second_class' => $second_class, |
|
|
|
|