30 lines
767 B
PHP
30 lines
767 B
PHP
<?php
|
|
|
|
namespace app\admin\controller\subsidy;
|
|
use app\common\server\JsonServer;
|
|
use app\common\basics\AdminBase;
|
|
|
|
class Subsidy extends AdminBase
|
|
{
|
|
/**
|
|
* Notes: 列表
|
|
*/
|
|
public function lists()
|
|
{
|
|
if ($this->request->isAjax()) {
|
|
$get = $this->request->get();
|
|
return JsonServer::success('', GoodsLogic::lists($get));
|
|
}
|
|
|
|
$cate_list = MallCategoryLogic::categoryTreeeTree();
|
|
$statistics = GoodsLogic::statistics();
|
|
$column_list = ColumnLogic::getList();
|
|
return view('', [
|
|
'statistics' => $statistics,
|
|
'cate_list' => $cate_list,
|
|
'column_list' => $column_list,
|
|
'goods_type' => GoodsEnum::getTypeDesc()
|
|
]);
|
|
}
|
|
|
|
} |