|
...
|
...
|
@@ -35,8 +35,12 @@ class Comment extends Common |
|
|
|
$data['status'] = 1;
|
|
|
|
|
|
|
|
$succ = httpRequest(ON_LINE.'App.User.SetComment', 'post', $data);
|
|
|
|
#return $data;
|
|
|
|
return $result = ['code'=>1,'msg'=>'评论成功!','data'=>$data,'rel'=>1];#
|
|
|
|
if($succ['data']){
|
|
|
|
return $result = ['code'=>1,'msg'=>'评论成功!','data'=>$data,'rel'=>1];#
|
|
|
|
}else{
|
|
|
|
return $result = ['code'=>0,'msg'=>'评论失败!','data'=>$data,'rel'=>1];#
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
return $this->fetch();
|
|
|
|
}
|
...
|
...
|
|