master
parent
e502aaa15a
commit
2a491a651c
|
@ -3,6 +3,7 @@ package com.bwie.scenic.controller;
|
|||
import com.bwie.common.domain.response.*;
|
||||
import com.bwie.common.result.*;
|
||||
import com.bwie.scenic.service.*;
|
||||
import lombok.extern.slf4j.*;
|
||||
import org.springframework.beans.factory.annotation.*;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
|
@ -15,6 +16,7 @@ import java.util.*;
|
|||
* @Version 1.0
|
||||
*/
|
||||
@RestController
|
||||
@Slf4j
|
||||
public class ReportController {
|
||||
|
||||
@Autowired
|
||||
|
@ -23,6 +25,7 @@ public class ReportController {
|
|||
@PostMapping("/list")
|
||||
public Result<List<ReportResponse>> list(){
|
||||
List<ReportResponse> list = scenicService.list();
|
||||
log.info("111");
|
||||
return Result.success(list);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue