后台:添加操作日志

This commit is contained in:
luying
2021-12-22 17:10:10 +08:00
parent 5573faafb1
commit 8c488ea710
14 changed files with 273 additions and 28 deletions

View File

@@ -6,6 +6,7 @@ import ExportActivity from '../../../app/controller/activity';
import ExportGame from '../../../app/controller/game';
import ExportGmaccount from '../../../app/controller/gmaccount';
import ExportHome from '../../../app/controller/home';
import ExportLog from '../../../app/controller/log';
import ExportLogin from '../../../app/controller/login';
import ExportMail from '../../../app/controller/mail';
import ExportUpload from '../../../app/controller/upload';
@@ -17,6 +18,7 @@ declare module 'egg' {
game: ExportGame;
gmaccount: ExportGmaccount;
home: ExportHome;
log: ExportLog;
login: ExportLogin;
mail: ExportMail;
upload: ExportUpload;

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 ExportLog from '../../../app/service/Log';
import ExportMail from '../../../app/service/Mail';
import ExportTest from '../../../app/service/Test';
import ExportUtils from '../../../app/service/Utils';
@@ -19,6 +20,7 @@ declare module 'egg' {
activity: AutoInstanceType<typeof ExportActivity>;
game: AutoInstanceType<typeof ExportGame>;
gmUser: AutoInstanceType<typeof ExportGmUser>;
log: AutoInstanceType<typeof ExportLog>;
mail: AutoInstanceType<typeof ExportMail>;
test: AutoInstanceType<typeof ExportTest>;
utils: AutoInstanceType<typeof ExportUtils>;