Merge branch 'master' of https://gitea.zianxin.com/zax/biz-api-cloud
This commit is contained in:
commit
090d362a82
2 files changed
+13
No files matched your search
@@ -9,6 +9,8 @@ indent_style = tab
|
||||
indent_size = 4
|
||||
continuation_indent_size = 8
|
||||
end_of_line = lf
|
||||
insert_final_newline = false
|
||||
trim_trailing_whitespace = false
|
||||
|
||||
[*.{js, html}]
|
||||
indent_style = space
|
||||
|
||||
+11
@@ -149,4 +149,15 @@ public class LostAndFoundController {
|
||||
return R.ok(lostAndFoundPageVoPage);
|
||||
}
|
||||
|
||||
@Operation(summary = "失物招领app详情查询" , description = "失物招领app详情查询" )
|
||||
@GetMapping("/app/getDetails")
|
||||
public R getLostAndFoundAppDetail(@RequestParam("id") Long id) {
|
||||
LostAndFoundEntity lostAndFound = lostAndFoundService.getById(id);
|
||||
if (Objects.isNull(lostAndFound)) {
|
||||
return R.failed("失物招领信息不存在");
|
||||
}
|
||||
LostAndFoundPageVo lostAndFoundPageVo = BeanUtils.toBean(lostAndFound, LostAndFoundPageVo.class);
|
||||
return R.ok(lostAndFoundPageVo);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user