Commit b6aa956bce7e41377d44d3b0e908a80477e51793

Authored by pengye
1 parent 838aa0c1

no message

@@ -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']){