Commit 5572982706a525ae018f0aa0a26789752352304d

Authored by pengye
1 parent e801b317

no message

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