auto launch

This commit is contained in:
gaoshuaixing
2020-12-30 16:30:13 +08:00
parent aaa2bdb391
commit c8c0180b89
7 changed files with 96 additions and 34 deletions

View File

@@ -51,7 +51,7 @@ class ExampleController extends BaseController {
// const uploadRes = await service.example.uploadFileToSMMS(fileStream);
// }
const file = ctx.request.files[0];
this.app.logger.info('file:', file);
//this.app.logger.info('file:', file);
try {
let tmpFile = fs.readFileSync(file.filepath)