springMvc时间格式

xiaoxiao2021-02-28  83

  @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")     public Date getDisabledDate() {         return disabledDate;     }          @DateTimeFormat(pattern="yyyy-MM-dd")     public void setDisabledDate(Date disabledDate) {         this.disabledDate = disabledDate;     }
转载请注明原文地址: https://www.6miu.com/read-69054.html

最新回复(0)