chuweiqiang 1 year ago
parent
commit
fa706327d7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/data/model/DataXw.php

+ 1 - 1
app/data/model/DataXw.php

@@ -22,7 +22,7 @@ class DataXw extends Model
     ];
     public static function onBeforeWrite(self $model)
     {
-        return true;
+//        return true;
         $model['has_video']=Str::contains($model['content'],'</video>');
         if($model['has_video']){
             $html=HtmlDomParser::str_get_html($model['content']);