lqmac 11 months ago
parent 1d01b558c0
commit d91a9e0d2a
  1. 2
      app/common/model/Category.php

@ -87,7 +87,7 @@ class Category extends BaseModel
$filter = [];
$params['status'] > -1 && $filter[] = ['status', '=', $params['status']];
if (!empty($_GET['is_hot']) && $_GET['is_hot'] == 1) {
if (isset($param['is_hot']) && $param['is_hot'] != "") {
$filter[] = ['is_hot', '=', $params['is_hot']];
}
//添加店内分类

Loading…
Cancel
Save