后台:添加操作日志

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

@@ -0,0 +1,11 @@
import { Controller } from 'egg';
export default class LogController extends Controller {
public async getGmLog() {
const { ctx } = this;
const { pageSize, page, form } = ctx.request.body;
ctx.body = await ctx.service.log.getGmLog(page, pageSize, form);
}
}