|
@@ -55,7 +55,7 @@ public class GuideController {
|
|
|
* 获取绑定的家庭列表
|
|
* 获取绑定的家庭列表
|
|
|
*/
|
|
*/
|
|
|
@Operation(summary = "获取绑定的家庭列表")
|
|
@Operation(summary = "获取绑定的家庭列表")
|
|
|
- @GetMapping("/families")
|
|
|
|
|
|
|
+ @GetMapping("/bound-families")
|
|
|
public Result<List<Map<String, Object>>> getBoundFamilies(@RequestAttribute("userId") Long userId) {
|
|
public Result<List<Map<String, Object>>> getBoundFamilies(@RequestAttribute("userId") Long userId) {
|
|
|
List<GuideFamily> bindings = guideFamilyService.getFamiliesByGuide(userId);
|
|
List<GuideFamily> bindings = guideFamilyService.getFamiliesByGuide(userId);
|
|
|
|
|
|