feat[平台管理]:后台管理系统新增首页轮播图管理模块
This commit is contained in:
@@ -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 imageUrl;
|
||||||
private String redirectUrl;
|
private String redirectUrl;
|
||||||
|
private int type;
|
||||||
private Integer status;
|
private Integer status;
|
||||||
|
|
||||||
private String title;
|
private String title;
|
||||||
|
|||||||
@@ -70,6 +70,7 @@ declare namespace ORDERS {
|
|||||||
id: number;
|
id: number;
|
||||||
imageUrl: string;
|
imageUrl: string;
|
||||||
redirectUrl: string;
|
redirectUrl: string;
|
||||||
|
type: string;
|
||||||
title: string;
|
title: string;
|
||||||
description: string;
|
description: string;
|
||||||
sortOrder: number;
|
sortOrder: number;
|
||||||
|
|||||||
Reference in New Issue
Block a user