浏览代码

删除过滤

linwu 1 年之前
父节点
当前提交
bd2d3d933f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      server/common/models/Policy.php

+ 1 - 1
server/common/models/Policy.php

@@ -56,7 +56,7 @@ class Policy extends \yii\db\ActiveRecord
             [['use_layout'], 'in', 'range' => [0, 1]],
             [['title'], 'string', 'max' => 50],
             [['author'], 'string', 'max' => 50],
-            ['content', 'filterHtml']
+//            ['content', 'filterHtml']
         ];
     }