浏览代码

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

tags/V1.3.3^2
wanjing 1年前
父节点
当前提交
d48b98eedc
共有 1 个文件被更改,包括 2 次插入2 次删除
  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 查看文件

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


正在加载...
取消
保存