WongBin 3 years ago
parent dde07f5ddb
commit a4559bdd60

@ -8,6 +8,7 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
@ -36,4 +37,10 @@ public class LoginController {
public ResponseBean health() {
return ResponseBean.builder().build();
}
@RequestMapping({"/", "index.html"})
public String index() {
return "/index";
}
}

@ -71,7 +71,7 @@
<div class="block">
<el-pagination
:total="totalCount"
:page-sizes="[10, 20, 50, 100]"
:page-sizes="[8, 20, 50, 100]"
:page-size="params.pageSize"
:current-page="params.pageNumber"
layout="total, sizes, prev, pager, next, jumper"

Loading…
Cancel
Save