后台:邮件审核人
This commit is contained in:
@@ -7,6 +7,8 @@ export interface DicMail {
|
||||
readonly id: number;
|
||||
// 内容 %d 替换
|
||||
readonly content: string;
|
||||
readonly title: string;
|
||||
readonly sendName: string;
|
||||
readonly time: number;
|
||||
}
|
||||
|
||||
@@ -16,6 +18,8 @@ export function loadMail() {
|
||||
|
||||
let arr = readFileAndParse(FILENAME.DIC_MAIL);
|
||||
arr.forEach(o => {
|
||||
if(o.title == '&') o.title = '';
|
||||
if(o.sendName == '&') o.sendName = '';
|
||||
o.time = o.time * 60 * 60;
|
||||
dicMail.set(o.id, o);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user