feat:
1. notice module
This commit is contained in:
@@ -42,35 +42,36 @@ CREATE INDEX CONCURRENTLY idx_user_notice_count ON user_notice (user_id, notice_
|
||||
---- 后台页面菜单
|
||||
INSERT INTO blade_menu (id, parent_id, code, name, alias, path, source, sort, category, action, is_open, component,
|
||||
remark, is_deleted)
|
||||
VALUES (2016444412729917441, 0, 'customer', '用户配置', 'menu', '/customer', 'iconfont iconicon_subordinate', 9, 1, -1,
|
||||
1, '', '', 0);
|
||||
INSERT INTO blade_menu (id, parent_id, code, name, alias, path, source, sort, category, action, is_open, component,
|
||||
remark, is_deleted)
|
||||
VALUES (2020763647899787265, 2016444412729917441, 'userNotice', '用户通知', 'menu', '/customer/userNotice', null, 1, 1,
|
||||
VALUES (2020763647899787265, 1123598815738675201, 'userNotice', '用户通知', 'menu', '/common/commonUserNotice', null, 1, 1,
|
||||
0, 1, null, null, 0);
|
||||
INSERT INTO blade_menu (id, parent_id, code, name, alias, path, source, sort, category, action, is_open, component,
|
||||
remark, is_deleted)
|
||||
VALUES (2020763647899787266, 2020763647899787265, 'userNotice_add', '新增', 'add', '/customer/userNotice/add', 'plus',
|
||||
VALUES (2020763647899787266, 1123598815738675201, 'userNotice_add', '新增', 'add', '/common/commonUserNotice/add', 'plus',
|
||||
1, 2, 1, 1, null, null, 0);
|
||||
INSERT INTO blade_menu (id, parent_id, code, name, alias, path, source, sort, category, action, is_open, component,
|
||||
remark, is_deleted)
|
||||
VALUES (2020763647899787267, 2020763647899787265, 'userNotice_edit', '修改', 'edit', '/customer/userNotice/edit',
|
||||
VALUES (2020763647899787267, 1123598815738675201, 'userNotice_edit', '修改', 'edit', '/common/commonUserNotice/edit',
|
||||
'form', 2, 2, 2, 1, null, null, 0);
|
||||
INSERT INTO blade_menu (id, parent_id, code, name, alias, path, source, sort, category, action, is_open, component,
|
||||
remark, is_deleted)
|
||||
VALUES (2020763647899787268, 2020763647899787265, 'userNotice_delete', '删除', 'delete',
|
||||
'/api/blade-usernotice/userNotice/remove', 'delete', 3, 2, 3, 1, null, null, 0);
|
||||
VALUES (2020763647899787268, 1123598815738675201, 'userNotice_delete', '删除', 'delete',
|
||||
'/api/common/commonUserNotice/remove', 'delete', 3, 2, 3, 1, null, null, 0);
|
||||
INSERT INTO blade_menu (id, parent_id, code, name, alias, path, source, sort, category, action, is_open, component,
|
||||
remark, is_deleted)
|
||||
VALUES (2020763647899787269, 2020763647899787265, 'userNotice_view', '查看', 'view', '/customer/userNotice/view',
|
||||
VALUES (2020763647899787269, 1123598815738675201, 'userNotice_view', '查看', 'view', '/common/commonUserNotice/view',
|
||||
'file-text', 4, 2, 2, 1, null, null, 0);
|
||||
|
||||
--- 后台系统参数-字典
|
||||
--- 后台系统参数-字典 通知类型 0-全局通知 1-APP系统通知 2-Market系统通知 3-APP用户通知 4-Market用户通知
|
||||
INSERT INTO blade_dict (id, parent_id, code, dict_key, dict_value, sort, remark, is_sealed, status, is_deleted)
|
||||
VALUES (2020766458167353346, 0, 'app_notice_type', '-1', 'app通知类型', 28, '', 0, 1, 0);
|
||||
VALUES (2020766458167353346, 0, 'notice_type', '-1', '通知类型', 28, '', 0, 1, 0);
|
||||
INSERT INTO blade_dict (id, parent_id, code, dict_key, dict_value, sort, remark, is_sealed, status, is_deleted)
|
||||
VALUES (2020766503033823233, 2020766458167353346, 'app_notice_type', '0', '系统通知', 0, '', 0, 1, 0);
|
||||
VALUES (2020766503033823233, 2020766458167353346, 'notice_type', '0', '全局通知', 0, '', 0, 1, 0);
|
||||
INSERT INTO blade_dict (id, parent_id, code, dict_key, dict_value, sort, remark, is_sealed, status, is_deleted)
|
||||
VALUES (2020766543760515074, 2020766458167353346, 'app_notice_type', '1', 'app通知', 1, '', 0, 1, 0);
|
||||
VALUES (2020766543760515074, 2020766458167353346, 'notice_type', '1', 'APP系统通知', 1, '', 0, 1, 0);
|
||||
INSERT INTO blade_dict (id, parent_id, code, dict_key, dict_value, sort, remark, is_sealed, status, is_deleted)
|
||||
VALUES (2020766604569534466, 2020766458167353346, 'app_notice_type', '2', 'market通知', 2, '', 0, 1, 0);
|
||||
VALUES (2020766604569534466, 2020766458167353346, 'notice_type', '2', 'Market系统通知', 2, '', 0, 1, 0);
|
||||
INSERT INTO blade_dict (id, parent_id, code, dict_key, dict_value, sort, remark, is_sealed, status, is_deleted)
|
||||
VALUES (2020766604569534467, 2020766458167353346, 'notice_type', '3', 'APP用户通知', 2, '', 0, 1, 0);
|
||||
INSERT INTO blade_dict (id, parent_id, code, dict_key, dict_value, sort, remark, is_sealed, status, is_deleted)
|
||||
VALUES (2020766604569534468, 2020766458167353346, 'notice_type', '3', 'Market用户通知', 2, '', 0, 1, 0);
|
||||
|
||||
|
||||
@@ -64,7 +64,7 @@ public class CommonUserNoticeEntity extends BaseEntity {
|
||||
/**
|
||||
* 业务类型
|
||||
*/
|
||||
@Schema(description = "通知类型 0-全局通知 1-APP系统通知 2-Market系统通知 3-APP用户通知 4-Market用户通知")
|
||||
@Schema(description = "业务类型")
|
||||
private Integer moduleType;
|
||||
/**
|
||||
* 是否已读 0-否 1-是
|
||||
|
||||
Reference in New Issue
Block a user