|
@@ -30,7 +30,7 @@ class IntegralGoods extends Controller
|
|
|
public function index()
|
|
|
{
|
|
|
$this->title = '商品管理';
|
|
|
- $query = $this->_query($this->table)->where('is_deleted',0)->where([''])->like('name');
|
|
|
+ $query = $this->_query($this->table)->where('is_deleted',0)->where(['is_integral'=>1])->like('name');
|
|
|
$query->dateBetween('create_at')->order('sort desc , id desc')->page();
|
|
|
}
|
|
|
|