shanzemin

Results 2 issues of shanzemin

比如我想定义一个路由: router.js ``` 'use strict' /** * @param {Egg.Application} app - egg application */ module.exports = app => { const { router, controller } = app const sub = router.namespace('/api/userTest')...

Inactive

```js const AdmZip = require('adm-zip') const filepath = './test.zip' const zip = new AdmZip(filepath) // main.js need to exist const entry = zip.getEntry('main.js') if (entry) { zip.updateFile(entry, Buffer.from('123123123', 'utf8')) zip.writeZip(filepath)...