// +---------------------------------------------------------------------- namespace app\controller\api\user; use app\common\repositories\user\AwardIntegralPriceRepository; use crmeb\basic\BaseController; use think\App; class Award extends BaseController { protected $repository; public function __construct(App $app, AwardIntegralPriceRepository $repository) { parent::__construct($app); $this->repository = $repository; } /** * 用户反馈列表 * @return mixed * @author xaboy * @day 2020/5/28 */ public function feedbackList() { [$page, $limit] = $this->getPage(); return app('json')->success($this->repository->getList(['uid' => $this->request->uid(),'is_del' => 0], $page, $limit)); } }