package com.ruoyi.screen.controller; import com.ruoyi.common.core.domain.AjaxResult; import com.ruoyi.screen.domain.response.ZongzhiWorkDynamicsResponse; import com.ruoyi.screen.service.ZongzhiScreenManageService; 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; /** * 太仓综治网络管理大屏接口 */ @RestController @RequestMapping("/zongzhi/managescreen") @Api(tags = " 太仓综治网络管理大屏接口") public class ZongzhiScreenManageController { @Resource private ZongzhiScreenManageService zongzhiScreenManageService; /** * 工作 */ @ApiOperation(value = "工作动态", response = ZongzhiWorkDynamicsResponse.class) @GetMapping("/workdynamics") private AjaxResult getWorkDynamics() { return AjaxResult.success(zongzhiScreenManageService.getWorkDynamics()); } }