javascript
2小时学习Spring Boot 2019版本 代码一样推送至github上面去
簡介:《2小時學習Spring Boot》后續進階課程,主要講述了Spring Boot針對Web方面的相關技巧 講師實戰課程《Spring Boot微信點餐系統》 http://coding.imooc.com/class/117.html 《Spring Cloud微服務實戰》 http://coding.imooc.com/class/187.html 均已上線
數據庫啊? idea啊? 這些不一樣沒事? 但是springboot的版本一定要一樣的
說明我的電腦配置好? ?不信你啟動你的看看? 就知道了
將代碼上傳至github上面
?
?
?
?
?
?
就是加個參數而已? ?,本來這是部署方面的內容,既然講到了就講一下好了? ?
?
spring:profiles:active: proddatasource:driver-class-name: com.mysql.cj.jdbc.Driverurl: jdbc:mysql://127.0.0.1:3306/luckymoney?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2B8username: rootpassword: rootjpa:hibernate:ddl-auto: createshow-sql: true? ?
?
?
?
?
CREATE TABLE `luckmoney` (
? `id` int(11) NOT NULL,
? `consumer` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
? `money` decimal(19,2) DEFAULT NULL,
? `producer` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
? PRIMARY KEY (`id`)
) ENGINE=INNODB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
?
我的版本沒這個功能? 只能先刪除表 在新建表
將代碼上傳至github上面??
https://github.com/yangjiabinylg/luckymoney
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
總結
以上是生活随笔為你收集整理的2小时学习Spring Boot 2019版本 代码一样推送至github上面去的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 开锁行业备案(开锁业备案牌)
- 下一篇: Spring Boot进阶之Web进阶