| | |
| | | import com.sandu.common.security.annotation.AnonymousAccess; |
| | | import com.sandu.common.util.ResponseUtil; |
| | | import com.sandu.ximon.admin.service.ErrorMsgService; |
| | | import com.sandu.ximon.admin.utils.RedisUtils; |
| | | import lombok.AllArgsConstructor; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | /** |
| | |
| | | private final ErrorMsgService errorMsgService; |
| | | |
| | | @AnonymousAccess |
| | | @GetMapping("/listMsg") |
| | | public ResponseVO<Object> list(BaseConditionVO conditionVO, @RequestParam(value = "type", required = false) String type) { |
| | | @GetMapping("/lightListMsg") |
| | | public ResponseVO<Object> lightListMsg(BaseConditionVO conditionVO) { |
| | | return ResponseUtil.success(errorMsgService.lightListMsg(conditionVO)); |
| | | } |
| | | |
| | | return ResponseUtil.success(errorMsgService.listMsg(conditionVO, type)); |
| | | @AnonymousAccess |
| | | @GetMapping("/C3ListMsg") |
| | | public ResponseVO<Object> C3ListMsg(BaseConditionVO conditionVO) { |
| | | return ResponseUtil.success(errorMsgService.C3ListMsg(conditionVO)); |
| | | } |
| | | |
| | | @AnonymousAccess |
| | | @GetMapping("/atmosphereListMsg") |
| | | public ResponseVO<Object> atmosphereListMsg(BaseConditionVO conditionVO) { |
| | | |
| | | return ResponseUtil.success(errorMsgService.atmosphereListMsg(conditionVO)); |
| | | } |
| | | } |