Showing
1 changed file
with
3 additions
and
1 deletions
| @@ -37,11 +37,13 @@ class Comment extends Common | @@ -37,11 +37,13 @@ class Comment extends Common | ||
| 37 | $data['create_time'] = strtotime($data['create_time']); | 37 | $data['create_time'] = strtotime($data['create_time']); |
| 38 | $data['enclosure'] = json_encode($data['enclosure']); | 38 | $data['enclosure'] = json_encode($data['enclosure']); |
| 39 | 39 | ||
| 40 | + $data['soucre'] = 'pc'; | ||
| 41 | + | ||
| 40 | #匿名评价openid默认红旗 | 42 | #匿名评价openid默认红旗 |
| 41 | if($data['isnoshow']==1){ | 43 | if($data['isnoshow']==1){ |
| 42 | $data['author_openid'] = 'oB-xJ5DIWrC6MECaXfql2GvTmQTU';#红旗 | 44 | $data['author_openid'] = 'oB-xJ5DIWrC6MECaXfql2GvTmQTU';#红旗 |
| 43 | } | 45 | } |
| 44 | - | 46 | + |
| 45 | $succ = httpRequest(ON_LINE.'App.User.SetComment', 'post', $data); | 47 | $succ = httpRequest(ON_LINE.'App.User.SetComment', 'post', $data); |
| 46 | $succ = json_decode($succ,true); | 48 | $succ = json_decode($succ,true); |
| 47 | if($succ['data']){ | 49 | if($succ['data']){ |
-
Please register or login to post a comment