// +---------------------------------------------------------------------- namespace app\controller\admin\user; use app\common\repositories\store\ExcelRepository; use app\common\repositories\user\AwardIntegralPriceRepository; use app\common\repositories\user\UserInfoRepository; use crmeb\basic\BaseController; use app\common\repositories\user\UserBillRepository; use crmeb\services\ExcelService; use think\App; /** * Class Award * app\controller\admin\user * 用户扩展字段设置 */ class Award extends BaseController { protected $repository; public function __construct(App $app, AwardIntegralPriceRepository $repository) { parent::__construct($app); $this->repository = $repository; } /** * 列表 * @return \think\response\Json * @author Qinii * @day 2023/9/24 */ public function lst() { [$page, $limit] = $this->getPage(); $where = $this->request->params(['date']); return app('json')->success($this->repository->getList($where, $page, $limit)); } }