Browse Source

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

我觉得这是个错误的名字
shixi 1 year ago
parent
commit
b7944690d1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      apps/test-server/service/FileService.ts

+ 1 - 1
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;