2021与蓝度共同重构项目,服务端
zhanzhiqin
2022-10-14 7b4e8c2fa93a973ed29c9f7ee1a5b9e539f85e1d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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));
    }
}