New file |
| | |
| | | package com.panzhihua.applets.api; |
| | | |
| | | |
| | | import com.panzhihua.common.controller.BaseController; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.community.acid.ComAreaCounty; |
| | | import com.panzhihua.common.service.community.CommunityService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | | /** |
| | | * (ComAreaTownCommunity)表控制层 |
| | | * projectName 成都呐喊信息技术有限公司-智慧社区项目 |
| | | * description: 相关功能 |
| | | * |
| | | * @author zzj |
| | | * @since 2022-04-10 17:37:33 |
| | | */ |
| | | @Api(tags = {"区县联动列表"}) |
| | | @RestController |
| | | @RequestMapping("comAreaTownCommunity") |
| | | public class ComAreaTownCommunityApi extends BaseController { |
| | | |
| | | @Resource |
| | | private CommunityService communityService; |
| | | @ApiOperation(value = "列表查询",response = ComAreaCounty.class) |
| | | @GetMapping("/areaTownCommunity") |
| | | public R test(){ |
| | | return communityService.areaTownCommunity(this.getLoginUserInfo().getName()); |
| | | } |
| | | } |