Showing
1 changed file
with
1 additions
and
0 deletions
| @@ -46,6 +46,7 @@ class Comment extends Common | @@ -46,6 +46,7 @@ class Comment extends Common | ||
| 46 | 46 | ||
| 47 | $succ = httpRequest(ON_LINE.'App.User.SetComment', 'post', $data); | 47 | $succ = httpRequest(ON_LINE.'App.User.SetComment', 'post', $data); |
| 48 | $succ = json_decode($succ,true); | 48 | $succ = json_decode($succ,true); |
| 49 | + return $result = ['code'=>0,'msg'=>'评论失败!','data'=>$data,'fail'=>$succ];# | ||
| 49 | if($succ['data']){ | 50 | if($succ['data']){ |
| 50 | return $result = ['code'=>1,'msg'=>'评论成功!','data'=>$data,'rel'=>1];# | 51 | return $result = ['code'=>1,'msg'=>'评论成功!','data'=>$data,'rel'=>1];# |
| 51 | }else{ | 52 | }else{ |
-
Please register or login to post a comment