diff --git a/Application/Admin/Controller/StatementMangementController.class.php b/Application/Admin/Controller/StatementMangementController.class.php index fe8f5e4de..6543f084b 100644 --- a/Application/Admin/Controller/StatementMangementController.class.php +++ b/Application/Admin/Controller/StatementMangementController.class.php @@ -169,15 +169,15 @@ class StatementMangementController extends ThinkController $id = $_REQUEST['id']; if (!$id) { - $this->ajaxReturn(['code'=>2000,'msg'=>'error']); + $this->ajaxReturn(['code'=>2000,'error'=>'no']); } $is_del = M('statement','tab_')->where(['id'=>$id])->delete(); if ($is_del) { - $this->ajaxReturn(['code'=>0,'msg'=>'success']); + $this->ajaxReturn(['code'=>0,'success'=>'ok']); } else { - $this->ajaxReturn(['code'=>2000,'msg'=>'error']); + $this->ajaxReturn(['code'=>2000,'error'=>'no']); } }