lrf402788946 hace 4 años
padre
commit
9cd3447a31
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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,