show variables like '%time_zone%'
system_time_zone CST time_zone SYSTEM
若是是上述的則是正確的mysql
set GLOBAL time_zone='+8:00'; set time_zone='+8:00'; flush PRIVILEGES;
&serverTimezone=GMT%2b8
springboot的jackson配置: spring: jsckson: time-zone: GMT+8