|
|
@@ -68,7 +68,7 @@ public class AccountTempController {
|
|
|
* 临时账号模板
|
|
|
*/
|
|
|
@GetMapping("/export/temp/template")
|
|
|
- public void getPrepareTemplate(HttpServletResponse response) {
|
|
|
+ public void getTempTemplate(HttpServletResponse response) {
|
|
|
EasyExcelUtils.createTemplateExcel(response, ExcelPrepareAccountData.class, "临时账号导入模板", "临时账号导入模板", ExcelTypeEnum.XLSX, null);
|
|
|
}
|
|
|
|
|
|
@@ -76,7 +76,7 @@ public class AccountTempController {
|
|
|
* 批量导入临时账号
|
|
|
*/
|
|
|
@PutMapping("/import")
|
|
|
- public Result<String> batchImportPrepare(@RequestParam(defaultValue = "1") Long goodsId, MultipartFile file) throws IOException {
|
|
|
+ public Result<String> batchImport(@RequestParam(defaultValue = "1") Long goodsId, MultipartFile file) throws IOException {
|
|
|
if (goodsId == null) {
|
|
|
throw BusinessRuntimeException.getInstance("请选择对应平台");
|
|
|
}
|