| | |
| | | import com.panzhihua.common.model.vos.community.ComPropertyVO; |
| | | import com.panzhihua.common.service.community.CommunityService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiImplicitParam; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.web.bind.annotation.*; |
| | |
| | | public R delete(@RequestParam("id") Long id) { |
| | | return this.communityService.comPropertyDelete(id); |
| | | } |
| | | |
| | | @ApiOperation(value = "物业公司详情", response = ComPropertyVO.class) |
| | | @ApiImplicitParam(name = "id", value = "物业公司id", required = true) |
| | | @GetMapping("detail") |
| | | public R detailProperty(@RequestParam("id") Long id) { |
| | | return this.communityService.detailProperty(id); |
| | | } |
| | | } |