摘要:
//操作文件用的 import * as fs from "fs"; //koa 本体 import * as Koa from "koa"; //这个是用来拼路径的 import * as path from "path"; //这个可以拿来做路由 import * as Router from 阅读全文
摘要:
import * as Koa from "koa"; import * as fs from "fs"; import * as path from "path"; const app = new Koa(); app.use(async ctx => { // console.log(ctx.u 阅读全文