quanwei
2025-12-12 b8961f178740f99ce54cfcbfd88235eaf8b79872
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?php
 
namespace app\api\controller\plus\advance;
 
use app\api\controller\Controller;
use app\api\model\plus\advance\Product as ProductModel;
use app\common\service\product\BaseProductService;
use app\api\model\settings\Setting as SettingModel;
 
/**
 * 预售商品控制器
 */
class Product extends Controller
{
    /**
     *预售商品列表
     */
    public function index()
    {
        $model = new ProductModel();
        $list = $model->getList($this->request->param());
        // 预售设置
        $setting = SettingModel::getItem('advance');
        return $this->renderSuccess('', compact('list', 'setting'));
    }
 
}