feat: 修改了商品列表搜索功能
This commit is contained in:
parent
0214b50ca8
commit
b65ab15e2a
@ -95,10 +95,12 @@ class StoreProductLists extends BaseAdminDataLists implements ListsSearchInterfa
|
||||
if ($category_top != '') {
|
||||
$cate_name = '/' . $category_top;
|
||||
}
|
||||
// $category_two=StoreCategory::where('id', $item['two_cate_id'])->value('name');
|
||||
// if($category_two!=''){
|
||||
// $cate_name=$cate_name.'/'.$category_two;
|
||||
// }
|
||||
if (!$category_top) {
|
||||
$category_two = StoreCategory::where('id', $item['two_cate_id'])->value('name');
|
||||
if ($category_two != '') {
|
||||
$cate_name = $cate_name . '/' . $category_two;
|
||||
}
|
||||
}
|
||||
$category_three = StoreCategory::where('id', $item['cate_id'])->value('name');
|
||||
if ($category_three) {
|
||||
$cate_name = $cate_name . '/' . $category_three;
|
||||
|
Loading…
x
Reference in New Issue
Block a user