优化导入压缩包功能

This commit is contained in:
qitz
2023-12-07 16:46:05 +08:00
parent 3a831e31ad
commit 3cc3be3ee0
4 changed files with 7 additions and 4 deletions
@@ -457,8 +457,8 @@ public class CaseApplicationController extends BaseController {
* @throws IOException
*/
@PostMapping("/uploadCaseZipFile")
public AjaxResult uploadCaseZipFile(@RequestParam("file") MultipartFile file) throws IOException {
return caseApplicationService.uploadCaseZipFile(file);
public AjaxResult uploadCaseZipFile(@RequestParam("file") MultipartFile file,@RequestParam("templateId") Long templateId) throws IOException {
return caseApplicationService.uploadCaseZipFile(file,templateId);
}
/**