小程序分类优化

This commit is contained in:
devil
2020-08-07 22:01:18 +08:00
parent 904c2af7e6
commit e6631cd440
15 changed files with 174 additions and 70 deletions

View File

@ -227,9 +227,11 @@ class Goods extends Common
*/
public function Category()
{
// 开始处理
$params = $this->data_post;
return DataReturn('success', 0, GoodsService::GoodsCategoryAll($params));
$result = [
'category' => GoodsService::GoodsCategoryAll($this->data_post),
'category_show_level' => MyC('common_show_goods_category_level', 3, true),
];
return DataReturn('success', 0, $result);
}
/**