Commit 854c82b9646d535d0c6ee635bb0666b311850b98

Authored by pengye
1 parent 23a0ac19

no message

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