忽略租户

master
zzy 2026-04-26 22:49:58 +08:00
parent e6c1475c8d
commit 36a77d98b3
1 changed files with 4 additions and 0 deletions

View File

@ -30,6 +30,7 @@ public class AppMemberHouseController {
@PostMapping("/create")
@Operation(summary = "创建业主认证")
@TenantIgnore
public CommonResult<Long> createMemberHouse(@Valid @RequestBody AppMemberHouseSaveReqVO createReqVO) {
Long memberId = SecurityFrameworkUtils.getLoginUserId();
return success(memberHouseService.createMemberHouseForApp(memberId, createReqVO));
@ -37,6 +38,7 @@ public class AppMemberHouseController {
@GetMapping("/my-list")
@Operation(summary = "获取我的房屋认证列表")
@TenantIgnore
public CommonResult<List<AppMemberHouseRespVO>> getMyHouseList() {
Long memberId = SecurityFrameworkUtils.getLoginUserId();
List<AppMemberHouseRespVO> respVOList = memberHouseService.getMemberHouseListByMemberId(memberId);
@ -49,6 +51,7 @@ public class AppMemberHouseController {
@GetMapping("/relation-list")
@Operation(summary = "获取房屋关联人员列表")
@TenantIgnore
@Parameter(name = "houseId", description = "房屋ID", required = true, example = "1")
public CommonResult<List<AppMemberRelationRespVO>> getRelationList(
@RequestParam("houseId") Long houseId) {
@ -57,6 +60,7 @@ public class AppMemberHouseController {
@DeleteMapping("/unbind")
@Operation(summary = "解除绑定")
@TenantIgnore
@Parameter(name = "id", description = "认证记录ID", required = true, example = "1")
public CommonResult<Boolean> unbindMemberHouse(@RequestParam("id") Long id) {
memberHouseService.unbindMemberHouse(id);