mirror of
https://gitee.com/bootx/dax-pay-ui.git
synced 2025-09-03 02:47:30 +00:00
@@ -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;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user