Pārlūkot izejas kodu

Merge branch 'develop' of http://192.168.11.14:51037/gitadmin/tuoheng_freeway into develop

tags/V1.3.3^2
wanjing pirms 1 gada
vecāks
revīzija
d48b98eedc
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. +2
    -2
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/controller/SectionController.java

+ 2
- 2
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/controller/SectionController.java Parādīt failu

@@ -72,8 +72,8 @@ public class SectionController {
* @param roadId
* @return
*/
@GetMapping("/list/by/road/dept/{roadId}/{deptId}")
public JsonResult getListByRoadIdAndDeptId(@PathVariable("roadId") String roadId, @PathVariable("deptId") String deptId) {
@GetMapping(value = {"/list/by/road/dept/{roadId}","/list/by/road/dept/{roadId}/{deptId}"})
public JsonResult getListByRoadIdAndDeptId(@PathVariable(value = "roadId") String roadId, @PathVariable(required = false) String deptId) {
return sectionService.getListByRoadIdAndDeptId(roadId, deptId);
}


Notiek ielāde…
Atcelt
Saglabāt