作者 lyh

gx生成评论

@@ -71,6 +71,7 @@ class InitKeywordComment extends Command @@ -71,6 +71,7 @@ class InitKeywordComment extends Command
71 $data = []; 71 $data = [];
72 foreach ($matches[0] as $item){ 72 foreach ($matches[0] as $item){
73 $item = json_decode($item); 73 $item = json_decode($item);
  74 + dd($item);
74 $data[] = [ 75 $data[] = [
75 'nickname'=>$item['name'], 76 'nickname'=>$item['name'],
76 'text'=>$item['comment'], 77 'text'=>$item['comment'],