摘要: 一.异常类 package com.chx.springboot.exception; import org.springframework.web.bind.annotation.ControllerAdvice; import org.springframework.web.bind.annot 阅读全文
posted @ 2019-12-10 16:47 怀鑫 阅读(186) 评论(0) 推荐(0) 编辑
摘要: 一.首先导入依赖 <!-- 添加freemarker模版的依赖 --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-freemarker</artifactId> < 阅读全文
posted @ 2019-12-10 16:47 怀鑫 阅读(312) 评论(0) 推荐(0) 编辑