Browse Source

fix(typo): fileservice class name (#3625)

我觉得这是个错误的名字
pull/3630/head
shixi 3 years ago
committed by GitHub
parent
commit
b7944690d1
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      apps/test-server/service/FileService.ts

2
apps/test-server/service/FileService.ts

@ -5,7 +5,7 @@ const uploadUrl = 'http://localhost:3300/static/upload';
const filePath = path.join(__dirname, '../static/upload/');
fs.ensureDir(filePath);
export default class UserService {
export default class FileService {
async upload(ctx, files, isMultiple) {
let fileReader, fileResource, writeStream;

Loading…
Cancel
Save