产品列表

This commit is contained in:
“wanyongkang”
2021-07-27 14:13:50 +08:00
parent ad9f10fc2c
commit 29abf21cc6

View File

@@ -16,7 +16,7 @@ class OpenProduct
public function getOpenList()
{
$product = new PoductModel;
$list = $product->getList([], 'Id,Name', 'Sort asc');
$list = $product->getList(['OnLine' => 1], 'Id,Name', 'Sort asc');
\result($list);
}