lrf 3 years ago
parent
commit
72a651a938
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/service/apply.js

+ 2 - 2
app/service/apply.js

@@ -44,8 +44,8 @@ class ApplyService extends CrudService {
    */
    */
   async checkPath() {
   async checkPath() {
     const thisDir = 'apply';
     const thisDir = 'apply';
-    const { root_path, export_dir } = this.ctx.app.config.export;
-    const arr = [ root_path, export_dir, thisDir ];
+    const { root_path, project, export_dir } = this.ctx.app.config.export;
+    const arr = [ root_path, project, export_dir, thisDir ];
     let rPath = '';
     let rPath = '';
     for (const i of arr) {
     for (const i of arr) {
       rPath = `${rPath}${i}${sep}`;
       rPath = `${rPath}${i}${sep}`;