后台:发送邮件

This commit is contained in:
luying
2021-06-29 20:47:56 +08:00
parent ad2cd0f734
commit 04d72a1956
7 changed files with 122 additions and 23 deletions
+2
View File
@@ -7,6 +7,7 @@ import ExportGame from '../../../app/controller/game';
import ExportGmaccount from '../../../app/controller/gmaccount';
import ExportHome from '../../../app/controller/home';
import ExportLogin from '../../../app/controller/login';
import ExportMail from '../../../app/controller/mail';
import ExportUpload from '../../../app/controller/upload';
import ExportUsers from '../../../app/controller/users';
@@ -17,6 +18,7 @@ declare module 'egg' {
gmaccount: ExportGmaccount;
home: ExportHome;
login: ExportLogin;
mail: ExportMail;
upload: ExportUpload;
users: ExportUsers;
}
+2
View File
@@ -9,6 +9,7 @@ type AutoInstanceType<T, U = T extends CanExportFunc ? T : T extends AnyFunc ? R
import ExportActivity from '../../../app/service/Activity';
import ExportGame from '../../../app/service/Game';
import ExportGmUser from '../../../app/service/GmUser';
import ExportMail from '../../../app/service/Mail';
import ExportTest from '../../../app/service/Test';
import ExportUtils from '../../../app/service/Utils';
import ExportUsers from '../../../app/service/users';
@@ -18,6 +19,7 @@ declare module 'egg' {
activity: AutoInstanceType<typeof ExportActivity>;
game: AutoInstanceType<typeof ExportGame>;
gmUser: AutoInstanceType<typeof ExportGmUser>;
mail: AutoInstanceType<typeof ExportMail>;
test: AutoInstanceType<typeof ExportTest>;
utils: AutoInstanceType<typeof ExportUtils>;
users: AutoInstanceType<typeof ExportUsers>;