修复内容

This commit is contained in:
2026-01-18 18:07:53 +08:00
parent 5455aceab5
commit 5fe5289e26
9 changed files with 493 additions and 470 deletions

View File

@@ -32,11 +32,11 @@ class GoodsCategoryLogic{
* @author: 2021/3/6 18:49
*/
public static function categoryThirdTree($client,$type){
$cache_key = 'goods_category_'.$client.'_'.$type;
$cache = Cache::get($cache_key);
if ($cache) {
return $cache;
}
// $cache_key = 'goods_category_'.$client.'_'.$type;
// $cache = Cache::get($cache_key);
// if ($cache) {
// return $cache;
// }
// 构建查询条件
$where1 = ['is_show'=>1,'del'=>0,'level'=>1];
@@ -137,7 +137,7 @@ class GoodsCategoryLogic{
}
}
Cache::set($cache_key, array_values($lists));
// Cache::set($cache_key, array_values($lists));
return array_values($lists);
}