摘要: Spring的事件通知机制是一项很有用的功能,使用事件机制可将相互耦合的代码解耦,从而方便功能的开发。 1.入门案例 1.1环境准备 新建一个SpringBoot的项目,导入web的依赖,编写一个controller接口: package com.zys.springboottestexample. 阅读全文
posted @ 2021-07-22 20:31 钟小嘿 阅读(1161) 评论(0) 推荐(0)