| | |
| | | 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; |
| | | |
| | | /** |
| | | * 本地系统日志 |
| | |
| | | */ |
| | | @NonDS |
| | | @RestController |
| | | @AllArgsConstructor |
| | | //@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)); |
| | | } |
| | | |
| | | |
| | | |
| | | |