feat[平台管理]:后台管理系统新增首页轮播图管理模块

This commit is contained in:
2025-02-19 17:21:15 +08:00
parent be48f6233c
commit d655672497
3 changed files with 24 additions and 0 deletions
@@ -0,0 +1,22 @@
package com.central.order.enums;
import com.central.common.enums.ZltEnum;
import lombok.Getter;
/**
* 轮播类型枚举类型
*
* @author lsl create by 2025/2/19
*/
@Getter
public enum HomeCarouselType implements ZltEnum {
HOME(0,"首页"), ACTIVITY(1, "活动");
private Integer id;
private String content;
HomeCarouselType(Integer i, String content) {
this.id = i;
this.content = content;
}
}
@@ -26,6 +26,7 @@ public class HomeCarousel extends SuperEntity {
private String imageUrl;
private String redirectUrl;
private int type;
private Integer status;
private String title;
@@ -70,6 +70,7 @@ declare namespace ORDERS {
id: number;
imageUrl: string;
redirectUrl: string;
type: string;
title: string;
description: string;
sortOrder: number;