|
|
@@ -10,17 +10,16 @@ use common\components\util;
|
|
|
|
|
|
class CategoryService extends BaseService
|
|
|
{
|
|
|
-
|
|
|
-
|
|
|
public static $baseFile = '\bizHd\goods\classes\CategoryClass';
|
|
|
|
|
|
//取所有的分类 ssh 2019.12.7
|
|
|
- public static function getCategoryList($mainId, $flower = '')
|
|
|
+ public static function getCategoryList($mainId)
|
|
|
{
|
|
|
$where = ['mainId' => $mainId, 'delStatus' => 0];
|
|
|
- if (is_numeric($flower)) {
|
|
|
- $where['flower'] = $flower;
|
|
|
- }
|
|
|
+ // 需求变动:不再用 flower 做区分
|
|
|
+ //if (is_numeric($flower)) {
|
|
|
+ //$where['flower'] = $flower;
|
|
|
+ //}
|
|
|
$cat = CategoryClass::getAllByCondition($where, 'inTurn DESC', '*');
|
|
|
if (empty($cat)) {
|
|
|
return $cat;
|