// +---------------------------------------------------------------------- declare (strict_types=1); namespace app\store\controller\user; use think\response\Json; use app\store\controller\Controller; use app\store\model\user\GoodsSource as GoodsSourceModel; /** * 反馈 * * @package app\store\controller\user */ class GoodsSource extends Controller { //获取列表 public function getList(): Json { $params = $this->request->param(); $service = new GoodsSourceModel(); $list = $service->getList($params); return $this->renderSuccess(compact('list')); } }