lrf402788946 преди 4 години
родител
ревизия
9cd3447a31
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      app/service/school.js

+ 1 - 1
app/service/school.js

@@ -50,7 +50,7 @@ class SchoolService extends CrudService {
     const planid = plan.id;
     const planyearid = plan.planyearid;
     // 取得excle中数据
-    const _filepath = this.ctx.app.config.baseUrl + filepath;
+    const _filepath = 'http://127.0.0.1' + filepath; // this.ctx.app.config.baseUrl
     console.log(_filepath);
     const studatas = await this.getImportXLSXData(
       _filepath,