更新若干功能

This commit is contained in:
2026-08-19 08:16:49 +08:00
parent 4979bb83d2
commit 72bc6502eb
56 changed files with 3627 additions and 343 deletions

View File

@@ -0,0 +1,13 @@
-- ============================================================
-- 七牛种子默认 path_prefix=uploads但本站历史对象都在 Bucket 根目录
-- b_*.jpg。列举再套这层前缀会拉回空列表。
-- 只清掉仍是种子默认值的行;运营自己改过的前缀不动。
-- ============================================================
SET @now := UNIX_TIMESTAMP();
UPDATE `nl_oss_config`
SET `path_prefix` = '', `updated_at` = @now
WHERE `driver` = 'qiniu'
AND `path_prefix` = 'uploads'
AND `deleted_at` = 0;