checkLogin.js 203 B

123456789
  1. 'use strict';
  2. const _ = require('lodash');
  3. const whiteList = [];
  4. module.exports = options => {
  5. return async function checklogin(ctx, next) {
  6. console.log(ctx.request.url);
  7. await next();
  8. };
  9. };