From b9f63a273e939c19c5e75de302b2e2fe4f16bc43 Mon Sep 17 00:00:00 2001 From: jack Date: Mon, 17 Sep 2018 11:39:49 +0800 Subject: [PATCH] update md review submit function --- application/admin/controllers/DataController.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/application/admin/controllers/DataController.php b/application/admin/controllers/DataController.php index 01df184f..2fe15ea2 100755 --- a/application/admin/controllers/DataController.php +++ b/application/admin/controllers/DataController.php @@ -2919,8 +2919,10 @@ group by m.uuid,m.title,m.description) md ON md.uuid=v.uuid }catch(Exception $e) { $msg = "提交失败,请确认权限后重试"; if($this->debug>0) - {$msg .= $e->getMessage();} - $data = array("error"=>$msg, "detail"=>$e->getMessage()); + { + $msg .= $e->getMessage(); + } + $data = array("error"=>$msg, "detail"=>$e->getMessage(), 'line'=>$e->getLine(), 'code'=>$e->getCode(), 'trace'=>$e->getTrace(), 'file'=>$e->getFile()); $this->jsonexit($data); return true; }