提交 c89087ab authored 作者: Whispa's avatar Whispa

commit commit

上级 a3be81c7
......@@ -391,20 +391,20 @@ public class TbCfOrder {
/**
* 获取:订单创建时间
*/
@JsonProperty(value = "date")
//@JsonProperty(value = "date")
public Date getOrderTime() {
return orderTime;
}
/**
* 获取:订单创建时间
*/
static SimpleDateFormat format = new SimpleDateFormat("yyyy-MMM-dd HH:mm:ss");
@JsonProperty(value = "orderTime")
public String getOrderTimeFormatted() {
return format.format(getOrderTime());
}
//
// static SimpleDateFormat format = new SimpleDateFormat("yyyy-MMM-dd HH:mm:ss");
//
// @JsonProperty(value = "orderTime")
// public String getOrderTimeFormatted() {
// return format.format(getOrderTime());
// }
/**
* 设置:更新时间
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论