package com.ruoyi.web.controller.api; import com.ruoyi.common.constant.DictConstants; import com.ruoyi.common.core.domain.R; import com.ruoyi.common.utils.DictUtils; import com.ruoyi.system.model.THouse; import com.ruoyi.system.service.THouseService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RestController; /** *
* 房屋管理 前端控制器 *
* * @author xiaochen * @since 2025-01-17 */ @Api(tags = "房屋管理") @RestController @RequestMapping("/t-house") public class THouseController { @Autowired private THouseService tHouseService; @ApiOperation(value = "查询房屋信息") @GetMapping(value = "/getHouseById") public R