@@ -46,7 +46,7 @@ public class TauvReportDTO extends BaseReportDTO { | |||
* 创建时间 | |||
*/ | |||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") | |||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") | |||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") | |||
private Date createTime; | |||
/** |
@@ -7,7 +7,7 @@ server: | |||
context-path: /api | |||
spring: | |||
datasource: | |||
url: jdbc:mysql://localhost:3306/taauav_lishui?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=UTC&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true | |||
url: jdbc:mysql://localhost:3306/taauav_lishui?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true | |||
username: root | |||
password: idontcare | |||
driver-class-name: com.mysql.cj.jdbc.Driver |