This commit is contained in:
Mrx
2026-02-04 17:09:17 +08:00
parent 1a44eab144
commit bfbdf983b0
38 changed files with 1719 additions and 1725 deletions

View File

@@ -0,0 +1,5 @@
-- 为用户表添加 disable 字段0 可用1 禁用,默认 0
ALTER TABLE `user` ADD COLUMN `disable` tinyint NOT NULL DEFAULT 0 COMMENT '0可用 1禁用' AFTER `inside`;
-- 解除封禁示例UPDATE `user` SET `disable` = 0 WHERE `id` = ?;
-- 封禁用户示例UPDATE `user` SET `disable` = 1 WHERE `id` = ?;