公共退款界面
This commit is contained in:
20
app/product/controller/OpenProduct.php
Normal file
20
app/product/controller/OpenProduct.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace app\product\controller;
|
||||
|
||||
use app\product\model\Product as PoductModel;
|
||||
|
||||
class OpenProduct
|
||||
{
|
||||
/**
|
||||
* @description: 获取数据
|
||||
* @param {*}
|
||||
* @return {*}
|
||||
*/
|
||||
public function getOpenList()
|
||||
{
|
||||
$product = new PoductModel;
|
||||
$list = $product->getList([], 'Id,Name', 'Sort asc');
|
||||
\result($list);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user