operation_log.js
369 Bytes
/**
*
* @author: jiangfeng<jeff.jiang@yoho.cn>
* @date: 16/8/22
*/
'use strict';
import Router from 'koa-router';
import {
OperationLogger
} from '../../models';
const r = new Router();
r.get('/log', async (ctx) => {
await ctx.render('action/operation_log');
});
r.get('/log/query', async (ctx) => {
console.log(ctx.query);
});
export default r;