From 37f755a8853bf044ff81ec7233f4b9f27ae7aaee Mon Sep 17 00:00:00 2001 From: star7th Date: Sat, 16 Nov 2024 21:20:58 +0800 Subject: [PATCH] update --- .../Application/Api/Controller/CatalogController.class.php | 1 + server/Application/Api/Model/ItemChangeLogModel.class.php | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/server/Application/Api/Controller/CatalogController.class.php b/server/Application/Api/Controller/CatalogController.class.php index a9908d603..5f86c6f1b 100644 --- a/server/Application/Api/Controller/CatalogController.class.php +++ b/server/Application/Api/Controller/CatalogController.class.php @@ -299,6 +299,7 @@ public function batUpdate() )); } } + D("ItemChangeLog")->addLog($login_user['uid'], $item_id, 'drag', 'tree', 0, '目录树'); } $this->sendResult(array()); diff --git a/server/Application/Api/Model/ItemChangeLogModel.class.php b/server/Application/Api/Model/ItemChangeLogModel.class.php index 40ffc6f3f..766328fa0 100644 --- a/server/Application/Api/Model/ItemChangeLogModel.class.php +++ b/server/Application/Api/Model/ItemChangeLogModel.class.php @@ -81,6 +81,9 @@ public function renderOneLog($one) case 'unbound': $one['op_action_type_desc'] = '解绑'; break; + case 'drag': + $one['op_action_type_desc'] = '拖曳修改'; + break; default: $one['op_action_type_desc'] = '未定义'; break; @@ -99,6 +102,9 @@ public function renderOneLog($one) case 'member': $one['op_object_type_desc'] = '成员'; break; + case 'tree': + $one['op_object_type_desc'] = '目录树'; + break; default: $one['op_object_type_desc'] = '未定义'; break;