lrf402788946 4 年之前
父节点
当前提交
1fc0cc2bb3
共有 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 planid = plan.id;
     const planyearid = plan.planyearid;
     const planyearid = plan.planyearid;
     // 取得excle中数据
     // 取得excle中数据
-    const _filepath = this.ctx.app.config.baseUrl + filepath; //
+    const _filepath = 'http://127.0.0.1' + filepath; // this.ctx.app.config.baseUrl
     console.warn(_filepath);
     console.warn(_filepath);
     const studatas = await this.getImportXLSXData(
     const studatas = await this.getImportXLSXData(
       _filepath,
       _filepath,