5 分钟发布一次

This commit is contained in:
yml2213
2026-06-27 22:26:37 +08:00
parent 3abd513543
commit fed7d6af71
10 changed files with 261 additions and 9 deletions
@@ -0,0 +1,16 @@
-- +goose Up
-- +goose StatementBegin
INSERT INTO system_configs (`key`, `value`, description) VALUES
('listing.publish_cooldown_minutes', '5', '同一用户两次新增发布账号的最小间隔分钟数(0 表示关闭)')
ON DUPLICATE KEY UPDATE
description = VALUES(description);
-- +goose StatementEnd
-- +goose Down
-- +goose StatementBegin
DELETE FROM system_configs WHERE `key` = 'listing.publish_cooldown_minutes';
-- +goose StatementEnd