代码拉取完成,页面将自动刷新
spring:
datasource:
hikari:
username: root
password: root
url: jdbc:mysql:///test?serverTimezone=GMT%2B8&characterEncoding=utf-8
jpa:
database: mysql
show-sql: true
hibernate:
ddl-auto: update
jackson:
date-format: yyyy-MM-dd HH:mm:ss
time-zone: Asia/Chongqing
mail:
host: smtp.qq.com
username: 394610846@qq.com
password: movfuyuwjludbgga
properties.mail.smtp.port: 465
from: 394610846@qq.com
properties.mail.smtp.starttls.enable: true
properties.mail.smtp.starttls.required: true
properties.mail.smtp.ssl.enable: true
default-encoding: utf-8
<dependency>
<groupId>org.webjars</groupId>
<artifactId>bootstrap</artifactId>
<version>4.4.1-1</version>
</dependency>
<dependency>
<groupId>org.webjars</groupId>
<artifactId>jquery</artifactId>
<version>3.5.1</version>
</dependency>
<script src="webjars/jquery/3.5.1/jquery.min.js"></script>
<script src="webjars/bootstrap/4.4.1-1/js/bootstrap.min.js"></script>
<link rel="stylesheet"
href="webjars/bootstrap/4.4.1-1/css/bootstrap.min.css" />
<tr>
<td colspan="20" align="center">
共<span th:text="${pager.totalPages}"></span>页,
当前是第 <span th:text="${pager.number+1}"></span>页。
<a th:href="@{list(offset=0,mohu=${mohu})}">首页</a>
<a th:href="@{list(offset=${pager.number-1},mohu=${mohu})}" th:if="${not pager.isFirst()}">上页</a>
<a th:href="@{list(offset=${pager.number+1},mohu=${mohu})}" th:if="${not pager.isLast()}">下页</a>
<a th:href="@{list(offset=${pager.totalPages-1},mohu=${mohu})}">末页</a>
</td>
</tr>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
<version>1.2.15</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>4.2.1</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpcore</artifactId>
<version>4.2.1</version>
</dependency>
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
<version>2.6</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-util</artifactId>
<version>9.3.7.v20160115</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.5</version>
<scope>test</scope>
</dependency>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。