Commit 93e09ac6 authored by zhengyi's avatar zhengyi

管理端会员详情生日值格式化

parent 70b83da2
...@@ -11,6 +11,7 @@ import org.springframework.format.annotation.DateTimeFormat; ...@@ -11,6 +11,7 @@ import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date; import java.util.Date;
import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY;
import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND; import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
/** /**
...@@ -86,6 +87,7 @@ public class UserBackVO { ...@@ -86,6 +87,7 @@ public class UserBackVO {
* 生日 * 生日
*/ */
@ExcelProperty("生日") @ExcelProperty("生日")
@JsonFormat(pattern = FORMAT_YEAR_MONTH_DAY)
@ApiModelProperty(value = "生日") @ApiModelProperty(value = "生日")
private Date birthday; private Date birthday;
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment