Browse Source

'优化官网-栏目查询、官网-栏目新增、官网-栏目修改三个接口,在栏目类文件中新增图片视频类型'

james 1 year ago
parent
commit
b0661ba413

+ 5 - 0
service-website/service-website-biz/src/main/java/com/usky/website/domain/SiteCategory.java

@@ -89,6 +89,11 @@ public class SiteCategory implements Serializable {
      */
     private Integer status;
 
+    /**
+     * 类型;1:图片 2:视频
+     */
+    private Integer modelType;
+
     /**
      * 子级
      */

+ 1 - 0
service-website/service-website-biz/src/main/resources/mapper/website/SiteCategoryMapper.xml

@@ -17,6 +17,7 @@
         <result column="modifydate" property="modifydate" />
         <result column="sortindex" property="sortindex" />
         <result column="status" property="status" />
+        <result column="model_type" property="modelType" />
     </resultMap>
 
 </mapper>