From 300c40f56062f59abf5e7e20da7f8e0441a902a2 Mon Sep 17 00:00:00 2001 From: Anyon Date: Tue, 12 Jul 2022 11:23:22 +0800 Subject: [PATCH] Update File.php --- app/admin/controller/File.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/admin/controller/File.php b/app/admin/controller/File.php index 39b80a84e..bb73c362b 100644 --- a/app/admin/controller/File.php +++ b/app/admin/controller/File.php @@ -92,6 +92,6 @@ class File extends Controller $db1 = SystemFile::mk()->fieldRaw('max(id) id')->where($map)->group('type,hash'); $db2 = $this->app->db->table($db1->buildSql())->alias('dt')->field('id'); SystemFile::mk()->whereRaw("id not in {$db2->buildSql()}")->delete(); - $this->success('清理重复文件记录'); + $this->success('清理重复文件成功!'); } } \ No newline at end of file