产品列表
This commit is contained in:
@@ -16,7 +16,7 @@ class OpenProduct
|
|||||||
public function getOpenList()
|
public function getOpenList()
|
||||||
{
|
{
|
||||||
$product = new PoductModel;
|
$product = new PoductModel;
|
||||||
$list = $product->getList([], 'Id,Name', 'Sort asc');
|
$list = $product->getList(['OnLine' => 1], 'Id,Name', 'Sort asc');
|
||||||
\result($list);
|
\result($list);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user