diff --git a/mallinkAdmin/src/main/resources/db/migration/V2021120900001__add_type.sql b/mallinkAdmin/src/main/resources/db/migration/V2021120900001__add_type.sql
index 00086ceed..e44ae7991 100644
--- a/mallinkAdmin/src/main/resources/db/migration/V2021120900001__add_type.sql
+++ b/mallinkAdmin/src/main/resources/db/migration/V2021120900001__add_type.sql
@@ -1,6 +1,12 @@
ALTER TABLE `mallink`.`wx_topic`
ADD COLUMN `topic_type` smallint(3) NOT NULL DEFAULT 1 COMMENT 'EnumWxTopicType' AFTER `parent_tenant_id`;
+ALTER TABLE `mallink`.`wx_topic`
+ADD COLUMN `is_only_ad` tinyint(1) NOT NULL DEFAULT 0 COMMENT '首页是否只展示封面图' AFTER `status`;
+
ALTER TABLE `mallink`.`wx_appinfo`
-ADD COLUMN `mould_type` smallint(2) NOT NULL DEFAULT 0 COMMENT '模板类型' AFTER `type`;
+ADD COLUMN `mould_type` smallint(2) NOT NULL DEFAULT 0 COMMENT '风格模板类型' AFTER `type`;
+
+
+
diff --git a/mallinkService/src/main/java/com/iformall/domain/po/WxTopic.java b/mallinkService/src/main/java/com/iformall/domain/po/WxTopic.java
index 73f8bca52..e49a8b45a 100644
--- a/mallinkService/src/main/java/com/iformall/domain/po/WxTopic.java
+++ b/mallinkService/src/main/java/com/iformall/domain/po/WxTopic.java
@@ -43,6 +43,8 @@ public class WxTopic extends TenantEntity {
private Date endTime;
@io.swagger.annotations.ApiModelProperty(value="状态1生效2失效3作废",name="status")
private Integer status;
+ @io.swagger.annotations.ApiModelProperty(value="首页是否只展示封面图",name="isOnlyAd")
+ private Integer isOnlyAd;
@io.swagger.annotations.ApiModelProperty(value="创建时间",name="createtime")
private Date createtime;
@io.swagger.annotations.ApiModelProperty(value="更新时间",name="updatetime")
diff --git a/mallinkService/src/main/resources/mapper/WxTopicMapper.xml b/mallinkService/src/main/resources/mapper/WxTopicMapper.xml
index 71d1af54c..f7188aff0 100644
--- a/mallinkService/src/main/resources/mapper/WxTopicMapper.xml
+++ b/mallinkService/src/main/resources/mapper/WxTopicMapper.xml
@@ -16,6 +16,8 @@
+
+
@@ -23,7 +25,7 @@
- `id`,`tenant_id`,`parent_tenant_id`,`topic_type`,`name`,`title`,`content`,`cover`,`cover_picture`,`detail_picture`,`advert`,`begin_time`,`end_time`,`createtime`,`updatetime`,`bg_color`
+ `id`,`tenant_id`,`parent_tenant_id`,`topic_type`,`name`,`title`,`content`,`cover`,`cover_picture`,`detail_picture`,`advert`,`begin_time`,`end_time`,`is_only_ad`,`createtime`,`updatetime`,`bg_color`