request->isAjax()) { $get = $this->request->get(); $get['shop_id'] = $this->shop_id; $data = UserLogic::lists($get); return JsonServer::success('', $data); } return view('', [ 'client_list' => ClientEnum::getClient(true) ]); } public function info() { $id = $this->request->get('id', '', 'intval'); $detail = UserLogic::getInfo($id); return view('', [ 'detail' => $detail ]); } }