|
@@ -102,6 +102,10 @@ class PatentwarningService extends CrudService {
|
|
|
const shortPath = `platform${sep}patent${sep}${savePath}${sep}`;
|
|
|
// 上传全路径
|
|
|
const path = `${this.import_root_path}${sep}${shortPath}`;
|
|
|
+ console.log('path');
|
|
|
+ console.log(`${path}`);
|
|
|
+ console.log('all');
|
|
|
+ console.log(`${path}${newFileName}`);
|
|
|
// 检查上传全路径是否存在,不存在就创建文件夹
|
|
|
await this.checkPathAndCreate(path);
|
|
|
// 另存文件
|