'use strict';

const KoaRouter = require('koa-router');
const routerConf = require('../koasConfig').router;
const path = require('path');
const staticRoute = {};
for(let i in routerConf){
	staticRoute[i] = require(path.join(__dirname,'../',routerConf[i]));
}
console.log(staticRoute)
class KoasRouter extends KoaRouter{
	constructor(){
		super();

	}
}
console.log(KoasRouter)
@@ -155,16 +155,58 @@
 e = %7B%7D;%0A
+const routes = Symbol.for('koas#routes');%0A
 for(let 
@@ -382,16 +382,45 @@
 uper();%0A
+%09%09this%5Broutes%5D = staticRoute;
 %0A%09%7D%0A%7D%0Aco

change file