update md review submit function

This commit is contained in:
jack 2018-09-17 11:39:49 +08:00
parent 95ed68c644
commit b9f63a273e
1 changed files with 4 additions and 2 deletions

View File

@ -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;
}