springboot
WCD128
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
springboot整合ssm配置文件application.yml
spring: thymeleaf: cache: false check-template-location: true check-template: true content-type: text/html; charset=utf-8 enabled: true encoding: UTF-8 prefix: classpath:...原创 2019-12-12 22:10:18 · 1043 阅读 · 0 评论 -
springboot整合ssm的pom文件
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-...原创 2019-12-12 22:08:25 · 532 阅读 · 0 评论 -
springboot项目页面显示时间的毫秒值
在service和controller层查询的时间都是时间类型,但是一到页面展示的时候就变成了毫秒值,可以在springboot的配置文件中增加这样一句话原创 2018-07-12 15:31:54 · 3050 阅读 · 0 评论 -
pringboot在js中直接跳转后台再到页面
js代码:function(data) { console.info(data.result); if(data.result==true) { url = "/order/main.do" window.location.href = encodeURI(url); } if(data.result==false) {...原创 2018-07-13 00:19:56 · 1953 阅读 · 0 评论 -
springboot中时间类型处理
1、在类的属性上加注解@JsonFormat(timezone="GMT+8",pattern="yyyy-MM-dd"); 2、在application.yml文件中添加: spring: jackson: data-format:yyyy-MM-dd //字符串 ...原创 2018-11-20 22:11:51 · 1761 阅读 · 0 评论
分享