fix: ConfigParser

This commit is contained in:
coooookies 2022-05-03 06:14:42 +08:00
parent 3fa8576a0b
commit 3eb70e1afa

View File

@ -79,10 +79,10 @@ public class ConfigParser {
template_initialMail.sender= "MeaKiritaniIwako"; template_initialMail.sender= "MeaKiritaniIwako";
template_initialMail.importance = 1; template_initialMail.importance = 1;
template_initialMail.body.content = template_initialMail.body.content =
"Hi!\n\n" + "Hi!\r\n" +
"Thank you for using MeaMailPlus! You can use MeaMailPlus to send mail to your friends more conveniently.\r\n\r\n" + "Thank you for using MeaMailPlus! You can use MeaMailPlus to send mail to your friends more conveniently.\r\n\r\n" +
"Github HomePage" + "Github HomePage" +
"<type=\"browser\" text=\"Github\" href=\"https://discord.gg/T5vZU6UyeG\"/>\r\n" + "<type=\"browser\" text=\"Github\" href=\"https://github.com/Coooookies/Grasscutter-MeaMailPlus\"/>\r\n" +
"Grasscutter Discord" + "Grasscutter Discord" +
"<type=\"browser\" text=\"Discord\" href=\"https://discord.gg/T5vZU6UyeG\"/>"; "<type=\"browser\" text=\"Discord\" href=\"https://discord.gg/T5vZU6UyeG\"/>";
template_initialMail.body.items = new MeaMailTemplate.MailBody.ItemInfo[]{ template_initialMail.body.items = new MeaMailTemplate.MailBody.ItemInfo[]{
@ -108,7 +108,7 @@ public class ConfigParser {
"<type=\"browser\" text=\"Discord\" href=\"https://discord.gg/T5vZU6UyeG\"/>"; "<type=\"browser\" text=\"Discord\" href=\"https://discord.gg/T5vZU6UyeG\"/>";
template_birthDayMail.templateId = 1004; template_birthDayMail.templateId = 1004;
template_birthDayMail.remainTime = 2592000; // 1 month template_birthDayMail.remainTime = 31536000; // 1 year
template_birthDayMail.title = "Best Wishes on Your Birthday"; template_birthDayMail.title = "Best Wishes on Your Birthday";
template_birthDayMail.sender = "Mailing System"; template_birthDayMail.sender = "Mailing System";
template_birthDayMail.importance = 1; template_birthDayMail.importance = 1;