Commit cf5f8b5e903c39909532f8f0feb0f7ea0465cf9f

Authored by pengye
1 parent 854c82b9

no message

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