src/main/java/com/ruoyi/basic/controller/CustomerController.java
@@ -53,6 +53,13 @@ util.exportExcel(response, list, "客户档案数据"); } @PostMapping("/downloadTemplate") @Log(title = "客户档案-下载模板", businessType = BusinessType.EXPORT) public void downloadTemplate(HttpServletResponse response) { ExcelUtil<Customer> util = new ExcelUtil<Customer>(Customer.class); util.importTemplateExcel(response, "客户档案模板"); } /** * 导入客户档案