Ver código fonte

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

tags/V1.3.3^2
wanjing 1 ano atrás
pai
commit
d48b98eedc
1 arquivos alterados com 2 adições e 2 exclusões
  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 Ver arquivo

@@ -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);
}


Carregando…
Cancelar
Salvar