huliguo
2025-07-03 e3a2245265516fef78b4737d6fffc939e7c5e0af
pt-admin/src/main/java/com/ruoyi/web/controller/errand/CommunityController.java
@@ -21,7 +21,6 @@
@RestController
@RequestMapping(value = "/app/community")
@Api(value = "小区信息", tags = "小区信息操作控制器")
@Slf4j
public class CommunityController {
    @Autowired
@@ -44,8 +43,8 @@
    @GetMapping("/getTotalCommunityList")
    @PreAuthorize("@ss.hasPermi('system:index:statistics')")
    @ApiOperation(value = "获取所有小区列表(开通的小区总数取列表大小吧)",tags = "系统后台-首页")
    public R<List<CommunityListVO>> getTotalCommunityList() {
        return communityService.getTotalCommunityList();
    public R<List<CommunityListVO>> getTotalCommunityList(@RequestParam(value = "name",required = false) String name) {
        return communityService.getTotalCommunityList(name);
    }
    /**