|
@@ -140,6 +140,8 @@ class FooterService implements FooterServiceInterface
|
|
if(!empty($child)){
|
|
if(!empty($child)){
|
|
$footer_category['child_name'] = $child['name'];
|
|
$footer_category['child_name'] = $child['name'];
|
|
$footer_category['is_child'] = 1;
|
|
$footer_category['is_child'] = 1;
|
|
|
|
+ }else{
|
|
|
|
+ $footer_category['is_child'] = 0;
|
|
}
|
|
}
|
|
$result = [
|
|
$result = [
|
|
'rows'=>$footer_category,
|
|
'rows'=>$footer_category,
|