提交 c97a5377 authored 作者: liupengfei's avatar liupengfei

--no commit message

上级 af3f5860
...@@ -5,6 +5,7 @@ import java.util.List; ...@@ -5,6 +5,7 @@ import java.util.List;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
...@@ -55,7 +56,7 @@ public class FgHourLibraryController { ...@@ -55,7 +56,7 @@ public class FgHourLibraryController {
@ApiOperation(value = "查询时辰详情", notes = "查询时辰详情") @ApiOperation(value = "查询时辰详情", notes = "查询时辰详情")
@GetMapping(value = "/get/{oid}") @GetMapping(value = "/get/{oid}")
public CallBack<FgHourLibraryVO> getById(String oid) { public CallBack<FgHourLibraryVO> getById(@PathVariable String oid) {
return CallBack.success(service.getById(oid)); return CallBack.success(service.getById(oid));
} }
} }
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论