ruifeng_liu 3 年之前
父節點
當前提交
093297f447
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      app/service/patent/patentwarning.js

+ 4 - 0
app/service/patent/patentwarning.js

@@ -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);
       // 另存文件