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

我觉得这是个错误的名字
This commit is contained in:
shixi 2024-02-22 16:05:07 +08:00 committed by GitHub
parent 76ffd8fdf1
commit b7944690d1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

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