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