5 分钟发布一次
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user