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