1. notice module
This commit is contained in:
2026-02-11 18:01:30 +08:00
parent add23214ac
commit cd4d535d74
17 changed files with 268 additions and 187 deletions

View File

@@ -6,7 +6,6 @@ CREATE TABLE user_notice
notice_type int4 DEFAULT 0 NOT NULL, -- 通知类型 0-系统通知 1-app通知 2-market通知
module_type int4 NULL, -- 业务模块
has_read int4 DEFAULT 0 NOT NULL, -- 是否已读 0-否 1-是
release_time timestamp(6) NULL, -- 阅读时间
title VARCHAR(100) NULL, -- 标题
content TEXT NULL, -- 内容
remarks varchar(200) NULL, -- 备注
@@ -25,7 +24,6 @@ COMMENT ON COLUMN user_notice.user_id IS '用户id';
COMMENT ON COLUMN user_notice.notice_type IS '通知类型 0-系统通知 1-app通知 2-market通知';
COMMENT ON COLUMN user_notice.module_type IS '业务模块类型';
COMMENT ON COLUMN user_notice.has_read IS '是否已读 0-否 1-是';
COMMENT ON COLUMN user_notice.release_time IS '阅读时间';
COMMENT ON COLUMN user_notice.title IS '标题';
COMMENT ON COLUMN user_notice.content IS '内容';
COMMENT ON COLUMN user_notice.remarks IS '备注';