Commit 63df5809edf3b2ed4340dd58248e03e7dcd50e5c

Authored by pengye
1 parent e24456f5

no message

@@ -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