直接在数据库连接地址后面添加引号内的内容“&serverTimezone=GMT+8”
jdbc.url=jdbc:mysql://localhost:3306/seckill?useUnicode=true&characterEncoding=utf8&serverTimezone=GMT+8