javascript
2小时学习Spring Boot 2019版本 代码一样推送至github上面去
簡(jiǎn)介:《2小時(shí)學(xué)習(xí)Spring Boot》后續(xù)進(jìn)階課程,主要講述了Spring Boot針對(duì)Web方面的相關(guān)技巧 講師實(shí)戰(zhàn)課程《Spring Boot微信點(diǎn)餐系統(tǒng)》 http://coding.imooc.com/class/117.html 《Spring Cloud微服務(wù)實(shí)戰(zhàn)》 http://coding.imooc.com/class/187.html 均已上線
數(shù)據(jù)庫(kù)啊? idea啊? 這些不一樣沒事? 但是springboot的版本一定要一樣的
說(shuō)明我的電腦配置好? ?不信你啟動(dòng)你的看看? 就知道了
將代碼上傳至github上面
?
?
?
?
?
?
就是加個(gè)參數(shù)而已? ?,本來(lái)這是部署方面的內(nèi)容,既然講到了就講一下好了? ?
?
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;
?
我的版本沒這個(gè)功能? 只能先刪除表 在新建表
將代碼上傳至github上面??
https://github.com/yangjiabinylg/luckymoney
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
總結(jié)
以上是生活随笔為你收集整理的2小时学习Spring Boot 2019版本 代码一样推送至github上面去的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: 开锁行业备案(开锁业备案牌)
- 下一篇: Spring Boot进阶之Web进阶