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: prod
  datasource:
    driver-class-name: com.mysql.cj.jdbc.Driver
    url: jdbc:mysql://127.0.0.1:3306/luckymoney?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2B8
    username: root
    password: root
  jpa:
    hibernate:
      ddl-auto: create
    show-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

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值