Commit c1b312ed5bf97e129e3f41ed0535b5c0b5de6bb5

Authored by pengye
1 parent 27b3431d

no message

... ... @@ -26,7 +26,7 @@ class Comment extends Common
public function addcommit(){
if(Request::isAjax()){
$data = Request::except('file');
return $data['enclosure'];
return json_encode($data['enclosure']);
$data['pid'] = 0;
$data['eval_label'] = implode(',',$data['eval_label']);
$data['author'] = $data['author_openid']?'':'小周';
... ...