浏览代码

add updated_at

visuddhinanda 1 月之前
父节点
当前提交
b1c054c3d8
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      api-v13/app/Console/Commands/ExportAiTrainingData.php

+ 1 - 0
api-v13/app/Console/Commands/ExportAiTrainingData.php

@@ -174,6 +174,7 @@ class ExportAiTrainingData extends Command
                     'translation' => $translation,
                     'translation' => $translation,
                     'category' => $tags,
                     'category' => $tags,
                     'path' => $path,
                     'path' => $path,
+                    'updated_at' => $sent->updated_at
                 ];
                 ];
 
 
                 fwrite($fp, json_encode($currData, JSON_UNESCAPED_UNICODE) . "\n");
                 fwrite($fp, json_encode($currData, JSON_UNESCAPED_UNICODE) . "\n");