Commit 22dc7564 authored by hujun's avatar hujun

view

parent 6e593c08
......@@ -279,6 +279,10 @@ class Cost extends Basic
*/
public function getDetailCost()
{
if (!$this->request->isAjax()) {
return view('cost/publicCostDetails');
}
$code = 101;
if (empty($this->params['id'])) {
return $this->response($code, '参数错误!');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment