request->isAjax) { $params = $this->request->getQueryParams(); $service = new BillService(['mall_id' => $this->mall_id]); $data = $service->getBillList($params); return $this->success('ok', $data); } return $this->render('list'); } }