通讯录查询修改

master
Xusan 2024-05-16 15:43:45 +08:00
parent 49490b3395
commit 1cf8c05ea8
1 changed files with 8 additions and 1 deletions

View File

@ -261,5 +261,12 @@ public class AddressBookController {
return ResultJson.ok(service.removeById(id)); return ResultJson.ok(service.removeById(id));
} }
@ApiOperation(value = "查询详情")
@GetMapping(value = "get/{id}")
public ResultJson get(@PathVariable("id") Integer id) {
return ResultJson.ok(service.getById(id));
}
} }