gradle 빌드 오류 수정
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
package sample.ustraframework.java.bo.sample;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
@@ -14,12 +13,12 @@ public class SampleController {
|
||||
|
||||
@Autowired SampleService service;
|
||||
|
||||
@GetMapping("/api/test")
|
||||
public SampleResVo test() {
|
||||
SampleResVo vo = new SampleResVo();
|
||||
vo.setTest("test");
|
||||
return vo;
|
||||
}
|
||||
// @GetMapping("/api/test")
|
||||
// public SampleResVo test() {
|
||||
// SampleResVo vo = new SampleResVo();
|
||||
// vo.setTest("test");
|
||||
// return vo;
|
||||
// }
|
||||
|
||||
@PostMapping("/api/sample/paging")
|
||||
PaginationList<SampleModel> getCodeList(@RequestBody SampleModel.Criteria criteria) {
|
||||
|
||||
@@ -4,6 +4,5 @@ import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class SampleResVo {
|
||||
|
||||
public String test;
|
||||
private String test;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user