mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-10 17:15:07 +08:00
code review:积分、优惠劵、佣金等逻辑
This commit is contained in:
@ -1,11 +0,0 @@
|
||||
-- 查询上级菜单、排序
|
||||
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);
|
@ -1,3 +0,0 @@
|
||||
-- 增加字段
|
||||
ALTER TABLE trade_order
|
||||
ADD COLUMN brokerage_user_id bigint NULL COMMENT '推广人编号' AFTER comment_status;
|
Reference in New Issue
Block a user