From d41358fce9a436d81b9341d06fc1d8f3ddff92ff Mon Sep 17 00:00:00 2001
From: liujie <liujie>
Date: 星期一, 25 九月 2023 16:17:55 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 cloud-server-other/src/main/java/com/dsh/other/entity/Banner.java |   14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/cloud-server-other/src/main/java/com/dsh/other/entity/Banner.java b/cloud-server-other/src/main/java/com/dsh/other/entity/Banner.java
index 7ca8683..7e188fe 100644
--- a/cloud-server-other/src/main/java/com/dsh/other/entity/Banner.java
+++ b/cloud-server-other/src/main/java/com/dsh/other/entity/Banner.java
@@ -4,10 +4,12 @@
 import com.baomidou.mybatisplus.annotation.TableField;
 import com.baomidou.mybatisplus.annotation.TableId;
 import com.baomidou.mybatisplus.annotation.TableName;
-import io.swagger.models.auth.In;
-import lombok.Data;
 
+import com.fasterxml.jackson.annotation.JsonFormat;
+import lombok.Data;
 import java.util.Date;
+
+
 
 /**
  * @author zhibing.pu
@@ -22,7 +24,7 @@
     @TableId(value = "id", type = IdType.AUTO)
     private Integer id;
     /**
-     * 位置(1=首页,2=首页底部,3=线上课得积分,4=看视频得奖励,5=常见问题)
+     * 位置(1=首页,2=线上课得积分,3=看视频得奖励,4=常见问题)
      */
     @TableField("position")
     private Integer position;
@@ -32,7 +34,7 @@
     @TableField("img")
     private String img;
     /**
-     * 跳转页面
+     * 跳转页面id
      */
     @TableField("jumpPage")
     private Integer jumpPage;
@@ -50,6 +52,7 @@
      * 添加时间
      */
     @TableField("insertTime")
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
     private Date insertTime;
     /**
      * 跳转模块
@@ -72,7 +75,7 @@
     @TableField("turnId")
     private String turnId;
     /**
-     * 跳转页面id
+     * 跳转页面
      */
     @TableField("page")
     private String page;
@@ -82,3 +85,4 @@
     @TableField("typeId")
     private Integer typeId;
 }
+

--
Gitblit v1.7.1