|
@@ -169,7 +169,7 @@ class SchoolService extends CrudService {
|
|
|
}
|
|
|
// 整理excel数据
|
|
|
async getDataFromExcel(url) {
|
|
|
- const file = await this.ctx.curl(`http://127.0.0.1${url}`);
|
|
|
+ const file = await this.ctx.curl(`${url}`);
|
|
|
if (!(file && file.data)) {
|
|
|
throw new BusinessError(ErrorCode.DATA_NOT_EXIST, '未找到上传的名单');
|
|
|
}
|