![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
spring
四哥在努力
专业的中文 IT 技术社区,与千万技术人共成长。
展开
-
注解实现AOP语法
spring注解实现AOP的常用语法Pointcut 是指那些方法需要被执行"AOP",是由"Pointcut Expression"来描述的.Pointcut可以有下列方式来定义或者通过&& || 和!的方式进行组合.args()@args()execution()this()target()@target()within()@within()@annotation其中execution 是用的最多的,其格式为:execution(modifiers-patter原创 2022-05-23 17:29:00 · 119 阅读 · 0 评论 -
SpringMVC 引起的时间格式混乱 -- CST时间格式转换
在ssm框架 整合中 web 项目 中 前后端 时间格式 不一致 引起时间乱码一、ajax 中 由于 转换了JSON格式后 时间格式 变成了时间戳 在数据的源头 一般就是 实体类 的属性 或者是JSON格式转换所在的 方法 上 加上@JSONField(format = "yyyy-MM-dd") package com.ytzl.issue.pojo;import com.alibaba.fastjson.annotation.JSONField;import o原创 2021-06-02 20:37:40 · 534 阅读 · 0 评论