作者 lyh

gx

@@ -230,10 +230,10 @@ class BTemplateLogic extends BaseLogic @@ -230,10 +230,10 @@ class BTemplateLogic extends BaseLogic
230 if (preg_match($pattern, $param['html'], $matches)) { 230 if (preg_match($pattern, $param['html'], $matches)) {
231 $result = $matches[0]; 231 $result = $matches[0];
232 @file_put_contents(storage_path('logs/lyh_error.log'), var_export($result, true) . PHP_EOL, FILE_APPEND); 232 @file_put_contents(storage_path('logs/lyh_error.log'), var_export($result, true) . PHP_EOL, FILE_APPEND);
233 - echo $result;  
234 } else { 233 } else {
235 - echo "未找到匹配内容"; 234 + @file_put_contents(storage_path('logs/lyh_error.log'), var_export(222222222, true) . PHP_EOL, FILE_APPEND);
236 } 235 }
  236 + die();
237 $data = [ 237 $data = [
238 'head_html'=>$param['head_html'], 238 'head_html'=>$param['head_html'],
239 'head_css'=>$param['head_css'], 239 'head_css'=>$param['head_css'],