Showing
1 changed file
with
1 additions
and
8 deletions
| @@ -14,14 +14,7 @@ class Comment extends Common | @@ -14,14 +14,7 @@ class Comment extends Common | ||
| 14 | * 评论list | 14 | * 评论list |
| 15 | */ | 15 | */ |
| 16 | public function CommentList(){ | 16 | public function CommentList(){ |
| 17 | - $succ = httpRequest(ON_LINE.'App.User.SetComment', 'post', $data); | ||
| 18 | - #return $result = ['code'=>0,'msg'=>'评论失败!','data'=>$data,'fail'=>$succ];# | ||
| 19 | - $succ = json_decode($succ,true); | ||
| 20 | - if($succ['data']){ | ||
| 21 | - return $result = ['code'=>1,'msg'=>'评论成功!','data'=>$data,'rel'=>1];# | ||
| 22 | - }else{ | ||
| 23 | - return $result = ['code'=>0,'msg'=>'评论失败!','data'=>$data,'fail'=>$succ];# | ||
| 24 | - } | 17 | + |
| 25 | return $this->fetch(); | 18 | return $this->fetch(); |
| 26 | } | 19 | } |
| 27 | 20 |
-
Please register or login to post a comment