MissingServel Exception Spring Boot


部落用户
2025-04-05 07:34:38 (3天前)


+‘/’+ filterDateStart +‘/’+ filterDateEnd;
返回this.http.get< any>(url);

Html ERROR->

zone.js:2969 GET http:// localhost:8080 / filterResult / EDU / 04-07-2018 / 05-07-2018 400()

在我的

SpringBoot
</跨度>


2 条回复
  1. 0# 疯子哥哥 | 2019-08-31 10-32



    你应该改用

    @PathVariable

    代替

    @RequestParam

    对于

    路径
    </强>
    变量:




    1. public List filterResult(@PathVariable(“paramSelect”) String paramSelect , @PathVariable(“dateStart”) String dateStart , @PathVariable(“dateEnd”) String dateEnd) {

    2. </code>

登录 后才能参与评论