package com.sandu.ximon.admin.controller;
|
|
import com.sandu.common.domain.ResponseVO;
|
import com.sandu.common.object.BaseConditionVO;
|
import com.sandu.common.security.annotation.AnonymousAccess;
|
import com.sandu.common.util.ResponseUtil;
|
import com.sandu.ximon.admin.service.ErrorMsgService;
|
import lombok.AllArgsConstructor;
|
import org.springframework.web.bind.annotation.GetMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RestController;
|
|
/**
|
* @author LiuHaoNan
|
* @date 2022/7/27
|
*/
|
@RestController
|
@AllArgsConstructor
|
@RequestMapping("/v1/errorMsg")
|
public class ErrorMsgController {
|
|
private final ErrorMsgService errorMsgService;
|
|
@AnonymousAccess
|
@GetMapping("/lightListMsg")
|
public ResponseVO<Object> lightListMsg(BaseConditionVO conditionVO) {
|
return ResponseUtil.success(errorMsgService.lightListMsg(conditionVO));
|
}
|
|
@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));
|
}
|
}
|