25 lines
618 B
TypeScript
25 lines
618 B
TypeScript
|
|
declare namespace Api {
|
|||
|
|
/**
|
|||
|
|
* namespace Notice
|
|||
|
|
*
|
|||
|
|
* backend api module: "notice"(通知公告)
|
|||
|
|
*/
|
|||
|
|
namespace Notice {
|
|||
|
|
/** 公告(ID 在 API 适配层已统一为 string) */
|
|||
|
|
interface Notice {
|
|||
|
|
/** 公告编号 */
|
|||
|
|
id: string;
|
|||
|
|
/** 公告标题 */
|
|||
|
|
title: string;
|
|||
|
|
/** 公告类型,字典 system_notice_type */
|
|||
|
|
type: number;
|
|||
|
|
/** 公告内容(富文本 / 纯文本,由录入决定) */
|
|||
|
|
content: string;
|
|||
|
|
/** 状态:0 开启 / 1 关闭 */
|
|||
|
|
status: number;
|
|||
|
|
/** 创建时间 */
|
|||
|
|
createTime: string | number;
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|