diff --git a/shared/domain/roleField/mail.ts b/shared/domain/roleField/mail.ts index 110af3173..971494123 100644 --- a/shared/domain/roleField/mail.ts +++ b/shared/domain/roleField/mail.ts @@ -8,8 +8,9 @@ import { gameData } from "../../pubUtils/data"; export class MailParam { id: string; // mongodb生成objectId mailType: GM_MAIL_TYPE; // 邮件类型 - sendName: string = ''; // 发件人 + sendName: string = '系统'; // 发件人 content: string = ''; // 内容 + title: string = '系统邮件'; sendTime: number = 0; // 发送时间 endTime: number = 0; // 过期时间 goods: ItemReward[] = []; // 奖励 diff --git a/shared/resource/jsons/dic_email_content.json b/shared/resource/jsons/dic_email_content.json index 5d08b632d..0461436d7 100644 --- a/shared/resource/jsons/dic_email_content.json +++ b/shared/resource/jsons/dic_email_content.json @@ -1,6 +1,8 @@ [ { "id": 0, + "title": "邮件标题", + "sendName": "&", "content": "%d", "time": 24 },