repository = $repository; } /** * Common: 获取分组持有信息 * Author: wu-hui * Time: 2024/06/20 9:33 * @return mixed */ public function groupList(){ [$page, $limit] = $this->getPage(); $params = $this->request->params(['uid','mer_id','merchant_type']); $data = $this->repository->groupList((array)$params,(int)$page,(int)$limit); return app('json')->success($data); } /** * Common: 获取明细列表 * Author: wu-hui * Time: 2024/06/20 10:24 * @return mixed * @throws \think\db\exception\DataNotFoundException * @throws \think\db\exception\DbException * @throws \think\db\exception\ModelNotFoundException */ public function getList(){ [$page, $limit] = $this->getPage(); $params = $this->request->params(['uid','mer_id','level_id','merchant_type']); $data = $this->repository->getList((array)$params,(int)$page,(int)$limit); return app('json')->success($data); } }