1.优化game_config

2.备份MySQL数据库
This commit is contained in:
2026-04-28 15:50:16 +08:00
parent 9bc439ea5e
commit a033bf47b6
9 changed files with 1324 additions and 1 deletions

View File

@@ -0,0 +1,20 @@
-- 已上线环境:移除后台「会员管理」目录及子菜单、相关安全配置项(与代码移除配套执行)
-- 执行前请备份数据库
DELETE FROM admin_rule WHERE `name` = 'user' OR `name` LIKE 'user/%';
DELETE FROM security_sensitive_data WHERE `id` = 2;
DELETE FROM security_data_recycle WHERE `id` = 5;
-- ---------------------------------------------------------------------------
-- 以下可选:物理删除会员业务表(执行后 /api/user、/api/account 等会员接口将不可用)
-- 若仍使用前台会员中心,请勿执行 DROP并保留 user、user_group、user_rule 等表
-- ---------------------------------------------------------------------------
-- SET FOREIGN_KEY_CHECKS = 0;
-- DROP TABLE IF EXISTS `user_money_log`;
-- DROP TABLE IF EXISTS `user_score_log`;
-- DROP TABLE IF EXISTS `user`;
-- DROP TABLE IF EXISTS `user_group`;
-- SET FOREIGN_KEY_CHECKS = 1;
-- 说明:`user_rule` 仍用于前台会员菜单与权限,若整体下线会员功能再单独处理