会员详情,修改会员积分

This commit is contained in:
owen
2023-09-30 15:50:13 +08:00
parent be6399238b
commit 497ea2eee8
5 changed files with 58 additions and 7 deletions

11
sql/mysql/member.sql Normal file
View File

@ -0,0 +1,11 @@
-- 查询上级菜单排序
SELECT parent_id, sort
INTO @parentId, @sort
FROM system_menu
WHERE name = '用户等级修改'
LIMIT 1;
-- 新增 按钮权限
INSERT INTO system_menu(name, permission, type, sort, parent_id, path, icon, component, status)
VALUES ('用户积分修改', 'member:user:update-point', 3, @sort + 1, @parentId, '', '', '', 0);
INSERT INTO system_menu(name, permission, type, sort, parent_id, path, icon, component, status)
VALUES ('用户余额修改', 'member:user:update-balance', 3, @sort + 2, @parentId, '', '', '', 0);