quanwei
2025-11-27 4711bb8fb2fb16c4eb1cdf6c0314069d85e77a67
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'));
    }
 
}