Commit ba79eab9 authored by wujipeng's avatar wujipeng
Browse files

优化

parent 9537ebad
......@@ -42,9 +42,9 @@ public class RoadController {
}
/**
* 根据路名查询数据
* 道路详情
*/
@GetMapping("/road/detail")
@PostMapping("/detail/name")
public Result<RoadVO> queryByRoadName(@RequestBody RoadDTO roadDTO) {
return Result.success(roadService.queryByRoadName(roadDTO));
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment