Commit cb43574b by wangnb

账户体系时间转换--think.wang

1 parent ee446a18
package cn.com.glsx.merchants.response;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
......@@ -34,6 +35,7 @@ public class AccountTypeResponse implements Serializable {
/**
* 创建时间
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@ApiModelProperty(notes = "创建时间", name = "createdTime", dataType = "Date")
private Date createdTime;
......@@ -46,6 +48,7 @@ public class AccountTypeResponse implements Serializable {
/**
* 更新时间
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@ApiModelProperty(notes = "更新时间", name = "updatedTime", dataType = "Date")
private Date updatedTime;
......
package cn.com.glsx.merchants.response;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
......@@ -52,6 +53,7 @@ public class RoleResponse implements Serializable {
/**
* 创建时间
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@ApiModelProperty(name = "createdTime", notes = "创建时间", dataType = "Date")
private Date createdTime;
......@@ -64,6 +66,7 @@ public class RoleResponse implements Serializable {
/**
* 更新时间
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@ApiModelProperty(name = "updatedTime", notes = "更新时间", dataType = "Date")
private Date updatedTime;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!