老師講的這兩個例子的mysql數據庫模板在哪里啊
https://github.com/leechenxiang/imooc-springboot-starter
https://github.com/abel533/MyBatis-Spring-Boot
https://github.com/leechenxiang/imooc-springboot-starter
https://github.com/abel533/MyBatis-Spring-Boot
2021-06-29
@RestControllerAdvice:攔截異常并統一處理,它通常用于定義@ExceptionHandler, @InitBinder 和 @ModelAttribute 適用于所有@RequestMapping方法的方法,通過它就可以返回我們期望的異常返回格式,如果全部異常返回格式使用json,就可以使用該注解代替@ExceptionHanlder下的@ResponseBody注解。
2021-06-25
最新回答 / 我會相信一切有盡頭
可以先試試用一個可視化工具來熟悉git的基本原理和流程,熟悉了以后再用命令做自己想做的事情心理比較有譜。給你推薦個可以直接用的:SmartGit
2021-06-06
最新回答 / 寶慕林Freesky
檢查以下幾點pom.xml文件里是否加了freemarker依賴application.properties 是否添加了 freemarker的配置src/main/resources/templates/freemarker目錄下是否有index.ftl文件
2021-05-18