修改参数传递方式

This commit is contained in:
Guava
2023-06-21 17:06:29 +08:00
parent aaa8676547
commit 707a28405e

View File

@@ -8,7 +8,6 @@ import cn.hutool.poi.excel.ExcelReader;
import cn.hutool.poi.excel.ExcelUtil;
import cn.hutool.poi.excel.ExcelWriter;
import com.xboe.common.PageList;
import com.xboe.common.Pagination;
import com.xboe.core.JsonResponse;
import com.xboe.core.api.ApiBaseController;
import com.xboe.enums.CasesRecommendLaunchTypeEnum;
@@ -123,8 +122,8 @@ public class CasesRecommendApi extends ApiBaseController {
* @return
* @throws Exception
*/
@GetMapping("/download")
public void download(String importId, HttpServletResponse response) throws Exception {
@GetMapping("/download/{importId}")
public void download(@PathVariable("importId") String importId, HttpServletResponse response) throws Exception {
List<String> dataList = iCasesRecommendLaunchImportService.downFailData(importId);