浏览代码

$newRow->content_type = "json";

visuddhinanda 2 年之前
父节点
当前提交
dc20afabac
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      app/Console/Commands/UpgradeWbwTemplate.php

+ 1 - 0
app/Console/Commands/UpgradeWbwTemplate.php

@@ -109,6 +109,7 @@ class UpgradeWbwTemplate extends Command
 				);
             $newRow->editor_uid = config("app.admin.root_uuid");
             $newRow->content = trim($sent);
+            $newRow->content_type = "json";
             $newRow->strlen = mb_strlen($sent,"UTF-8");
             $newRow->status = 10;
             $newRow->create_time = time()*1000;