ソースを参照

【CHG】更改导出接口

ZhaoMn 3 年 前
コミット
7ea49cf001

+ 1 - 2
railway-admin/src/main/java/com/railway/web/controller/business/safetool/SecQcodeController.java

@@ -14,7 +14,6 @@ import java.util.List;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.validation.annotation.Validated;
 import org.springframework.web.bind.annotation.GetMapping;
-import org.springframework.web.bind.annotation.PathVariable;
 import org.springframework.web.bind.annotation.RequestMapping;
 import org.springframework.web.bind.annotation.RestController;
 import org.springframework.web.servlet.ModelAndView;
@@ -77,7 +76,7 @@ public class SecQcodeController extends BaseController {
   @ApiOperation(value = "批量导出二维码")
   @Log(title = "批量导出二维码", businessType = BusinessType.EXPORT)
   @GetMapping("/export")
-  public AjaxResult export(@PathVariable(value = "id") Long[] ids) {
+  public AjaxResult export(Long[] ids) {
     return baseSafetyToolService.export(ids);
   }