新增getByCode方法
This commit is contained in:
@@ -73,7 +73,7 @@ public class CmsNavigationController extends BaseController {
|
||||
}
|
||||
|
||||
@Operation(summary = "根据code查询网站导航记录表")
|
||||
@GetMapping("/{code}")
|
||||
@GetMapping("/getByCode/{code}")
|
||||
public ApiResult<CmsNavigation> getByCode(@PathVariable("code") String code) {
|
||||
// 使用关联查询
|
||||
return success(cmsNavigationService.getByIdRelByCodeRel(code));
|
||||
|
||||
Reference in New Issue
Block a user