From d05dc5c5c1daebfdb4803d7075ff846ad7b3be25 Mon Sep 17 00:00:00 2001
From: xuyonghao <898441624@qq.com>
Date: 星期一, 30 十二月 2024 17:05:36 +0800
Subject: [PATCH] 使用调度器定时删除文件

---
 app/models/resource_model.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/app/models/resource_model.py b/app/models/resource_model.py
index 34f6be1..c1c6960 100644
--- a/app/models/resource_model.py
+++ b/app/models/resource_model.py
@@ -58,6 +58,7 @@
             'menuName': self.name,
             'menuType': self.resource_type_id,
             'parentId': self.get_pid(),
+            'status': self.status,
             'parentName': self.get_pName(),
             'children': [res.to_tree_select_json() for res in self.children if res if res.status != RESOURCE_STATUS_DELETE]
         }

--
Gitblit v1.8.0