# 看注释！！！！！！


# 方案一. 在nacos中application.yml，添加的dubbo配置（建议此操作）
# dubbo:
#   provider:
#     filter: -exception

# 方案二. 执行以下sql，然后重新保存nacos中application.yml
use tmerclub_nacos;
update config_info set content = REPLACE(content, 'provider:\n    token: true\n', 'provider:\n    token: true\n    filter: -exception\n') where data_id = 'application.yml';


# 满减满折菜单名称更新为限时折扣
USE tmerclub_auth;
UPDATE menu SET name = '限时折扣' , title = '限时折扣' WHERE menu_id = 154;
UPDATE menu SET name = '限时折扣' , title = '限时折扣' WHERE menu_id = 177;
UPDATE menu SET title = '查看限时折扣' WHERE menu_id = 270;
UPDATE menu SET title = '限时折扣编辑' WHERE menu_id = 268;

# 修改平台菜单
USE `tmerclub_auth`;

# 删除原来的 轮播图 和 分组管理 菜单
delete from `menu` where menu_id in (257, 264, 265);

# 添加到新的默认组件菜单中
INSERT INTO `menu`(`menu_id`, `create_time`, `update_time`, `parent_id`, `biz_type`, `permission`, `path`, `component`,
                   `redirect`, `always_show`, `hidden`, `name`, `title`, `icon`, `no_cache`, `breadcrumb`, `affix`,
                   `active_menu`, `seq`)
VALUES (676, '2023-12-15 10:32:06', '2023-12-15 10:32:14', 526, 2, NULL, '/platform-default', 'default', NULL, NULL, 0,
        '默认组件', '默认组件', '', NULL, NULL, NULL, NULL, 2),
       (677, '2023-12-15 10:32:39', '2023-12-15 10:39:49', 676, 2, NULL, 'index-img', 'platform/default/index-img',
        NULL, NULL, 0, '轮播图', '轮播图', 'el-icon-picture-outline', NULL, NULL, NULL, NULL, 1),
       (678, '2023-12-15 10:32:37', '2023-12-15 10:39:53', 676, 2, NULL, 'spu-tag', 'platform/default/spu-tag', NULL,
        NULL, 0, '分组管理', '分组管理', '', NULL, NULL, NULL, NULL, 2),
       (679, '2023-12-15 10:32:26', '2023-12-15 11:19:43', 676, 2, NULL, 'tag-prod', 'platform/default/tag-prod', NULL,
        NULL, 1, '添加分组商品', '添加分组商品', '', NULL, NULL, NULL, NULL, 0);

# 修改菜单名称
UPDATE `menu`
SET
	`title` = '积分规格'
WHERE
	`title` = '规格管理'
	AND biz_type = 2



