作者 lyh

gx生成评论

@@ -68,7 +68,6 @@ class InitKeywordComment extends Command @@ -68,7 +68,6 @@ class InitKeywordComment extends Command
68 $text = Common::deal_keywords($text); 68 $text = Common::deal_keywords($text);
69 preg_match_all('/\{[^{}]*\}/', $text, $matches); 69 preg_match_all('/\{[^{}]*\}/', $text, $matches);
70 if(!empty($text)){ 70 if(!empty($text)){
71 - dd($matches[0]);  
72 $data = []; 71 $data = [];
73 foreach ($matches[0] as $item){ 72 foreach ($matches[0] as $item){
74 dd($item); 73 dd($item);