Showing
1 changed file
with
1 additions
and
1 deletions
| @@ -39,7 +39,7 @@ class Comment extends Common | @@ -39,7 +39,7 @@ class Comment extends Common | ||
| 39 | if($succ['data']){ | 39 | if($succ['data']){ |
| 40 | return $result = ['code'=>1,'msg'=>'评论成功!','data'=>$data,'rel'=>1];# | 40 | return $result = ['code'=>1,'msg'=>'评论成功!','data'=>$data,'rel'=>1];# |
| 41 | }else{ | 41 | }else{ |
| 42 | - return $result = ['code'=>0,'msg'=>'评论失败!','data'=>$data,'rel'=>1];# | 42 | + return $result = ['code'=>0,'msg'=>'评论失败!','data'=>$data,'fail'=>$succ];# |
| 43 | } | 43 | } |
| 44 | 44 | ||
| 45 | } | 45 | } |
-
Please register or login to post a comment