ludc
2023-11-09 6b0971b690de6e50d43b81799ba0378013455cdb
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
package com.vci.ubcs.core.log.controller;
 
import com.vci.ubcs.core.log.service.ILogSystemService;
import com.vci.ubcs.log.entity.SystemLog;
import lombok.AllArgsConstructor;
import org.springblade.core.tenant.annotation.NonDS;
import org.springblade.core.tool.api.R;
import org.springframework.beans.factory.annotation.Autowired;
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;
 
import java.util.List;
 
/**
 * 本地系统日志
 * @author ludc
 * @date 2023/10/31 15:37
 */
@NonDS
@RestController
//@AllArgsConstructor
@RequestMapping("/systemLog")
public class LogSystemController {
 
    @Autowired
    private ILogSystemService logSystemService;
 
    @GetMapping("/lazy-list")
    private R<List<SystemLog>> getSystemLogList(@RequestParam String serviceName){
         return R.data(logSystemService.getSystemLogList(serviceName));
    }
 
 
 
 
}