|
...
|
...
|
@@ -36,7 +36,12 @@ class Comment extends Common |
|
|
|
$data['status'] = 1;
|
|
|
|
$data['create_time'] = strtotime($data['create_time']);
|
|
|
|
$data['enclosure'] = json_encode($data['enclosure']);
|
|
|
|
#unset($data['enclosure']);
|
|
|
|
|
|
|
|
#匿名评价openid默认红旗
|
|
|
|
if($data['isnoshow']==1){
|
|
|
|
$data['author_openid'] = 'oB-xJ5DIWrC6MECaXfql2GvTmQTU';#红旗
|
|
|
|
}
|
|
|
|
|
|
|
|
$succ = httpRequest(ON_LINE.'App.User.SetComment', 'post', $data);
|
|
|
|
$succ = json_decode($succ,true);
|
|
|
|
if($succ['data']){
|
...
|
...
|
|