Commit c1b312ed5bf97e129e3f41ed0535b5c0b5de6bb5

Authored by pengye
1 parent 27b3431d

no message

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