Showing
1 changed file
with
2 additions
and
0 deletions
| @@ -25,6 +25,8 @@ class Comment extends Common | @@ -25,6 +25,8 @@ class Comment extends Common | ||
| 25 | 25 | ||
| 26 | public function addcommit(){ | 26 | public function addcommit(){ |
| 27 | if(Request::isAjax()){ | 27 | if(Request::isAjax()){ |
| 28 | + $data = Request::except('file'); | ||
| 29 | + return $data; | ||
| 28 | return $result = ['code'=>1,'msg'=>'评论成功!','data'=>1,'rel'=>1];# | 30 | return $result = ['code'=>1,'msg'=>'评论成功!','data'=>1,'rel'=>1];# |
| 29 | } | 31 | } |
| 30 | return $this->fetch(); | 32 | return $this->fetch(); |
-
Please register or login to post a comment