在layui的table数据表格设置时间添加上
templet: "<div>{{layui.util.toDateString(d.time, 'yyyy-MM-dd HH:mm:ss')}}</div>"
d.time 的time自行替换成自己的,如下面的代码,我的是billTime,故设置为d.billTime。
...
本次项目的开发中,我从中学到了许多新的知识,也汲取的一些经验。明白了一个项目从无到有的过程。项目的开发的每一步都需要认真对待,并且要扣紧每一个细节。
本次项目基于SpringBoot+MyBatisPlus实现,采用Docker容器化部署,是一个微服务项目,涉及许多中间件的技术。
在开始编写代码前,最重要的,是先设计数据...
报错原因是可能会存在的:就是直接安装也会安装最新版本的
npm install node-sass --save-dev //安装node-sass
npm install sass-loader --save-dev //安装sass-loader
安装完成后就会运行
网上说是因为sass-loader安装的版本太高,卸载重新安装低版本即可,网上大部分...
pagehelper-spring-boot-starter分页导致项目启动错误,
Error creating bean with name 'XXXXXX':......
原因及解决方法
spring-boot-starter-parent版本:2.3.0.RELE...
mybatis plus 不能用@Transient 注解,识别不了会照样报错,这一点有区别于tk.mybatis
tk.mybatis使用如下
@Transient
private String firstName;
mybatis plus使用如下
pr...
在访问springboot静态资源时出现了:
而且在进行请求,通过thymeleaf解析时又出现了:
Exception processing template "xxx": Error resolving template [xxx], template might not exist or ...
部署在宝塔
1,在www/wwwroot创建一个文件夹如:ac
2,下载项目:https://github.com/YunYouJun/air-conditioner
3,解压
4,ssh运行下面命令
cd /www/wwwroot/ac
yarn install
yarn...
本以为是服务器的问题,然后给服务器供应商提交了工单,发现是网站程序的某些模块加载时间过长,cdn的回源请求超时时间是30秒,最终导致504。
折腾了一个晚上,逐步排查发现是module.php中,头像的加载有问题。在获取Gravatar头像并缓存到本地这一块,https://secure.gravatar.com/ 这个Gr...
创建maven的javaweb工程时出现错误:程序包javax servlet annotation不存在
解决:添加依赖
<dependency>
<groupId>org.apache.tomcat</groupId>
<artifact...