|
@ -252,7 +252,7 @@ public class IcResiUserController { |
|
|
* |
|
|
* |
|
|
* @return |
|
|
* @return |
|
|
*/ |
|
|
*/ |
|
|
@PostMapping("import/excel") |
|
|
@PostMapping("importExcel") |
|
|
public void importExcelByEasyExcel(@RequestPart("file") MultipartFile file, HttpServletResponse response) { |
|
|
public void importExcelByEasyExcel(@RequestPart("file") MultipartFile file, HttpServletResponse response) { |
|
|
if (file.isEmpty()) { |
|
|
if (file.isEmpty()) { |
|
|
throw new RenException("请上传文件"); |
|
|
throw new RenException("请上传文件"); |
|
|