101captain
2021-12-10 ef3df8078bc6d347ed09a5f5f35fcecc4261896b
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/BigScreenStatisticsApi.java
@@ -2,6 +2,7 @@
import javax.annotation.Resource;
import com.panzhihua.service_community.service.BigScreenService;
import org.springframework.web.bind.annotation.*;
import com.panzhihua.common.model.dtos.community.bigscreen.BigScreenEventDTO;
@@ -18,6 +19,8 @@
    @Resource
    private ComMngPopulationService comMngPopulationService;
    @Resource
    private BigScreenService bigScreenService;
    /**
     * 首页大屏统计接口
@@ -87,4 +90,20 @@
        return R.ok(comMngPopulationService.indexInfo(communityId));
    }
    /**
     * 社区服务大屏数据分析接口
     */
    @GetMapping("/serviceData")
    public R serviceData(@RequestParam("communityId")Long communityId){
        return this.bigScreenService.serviceData(communityId);
    }
    /**
     * 服务居民接口
     */
    @GetMapping("/serviceUser")
    public R serviceUser(@RequestParam("communityId") Long communityId){
        return this.bigScreenService.serviceUser(communityId);
    }
}