repository = $repository; } public function lst() { [$page, $limit] = $this->getPage(); $where = $this->request->params(['date', 'coupon_type', 'coupon_name', 'status']); $where['mer_id'] = $this->request->merId(); return app('json')->success($this->repository->getList($where, $page, $limit)); } }