request->isAjax()) { $post = $this->request->post(); $result = FinanceLogic::shop($post); return JsonServer::success('', $result); } View::assign('shop', FinanceLogic::shop()); return view(); } }