mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-25 16:35:06 +08:00
mall + promotion:review 页面装修
This commit is contained in:
@ -9,6 +9,7 @@ import lombok.Getter;
|
||||
*/
|
||||
@Getter
|
||||
public enum DecorateComponentEnum {
|
||||
|
||||
NAV_MENU("nav-menu", "导航菜单"),
|
||||
ROLLING_BANNER("rolling-banner", "滚动横幅广告"),
|
||||
PRODUCT_CATEGORY("product-category", "商品分类");
|
||||
@ -27,4 +28,5 @@ public enum DecorateComponentEnum {
|
||||
this.code = code;
|
||||
this.desc = desc;
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -14,6 +14,7 @@ import java.util.Arrays;
|
||||
@AllArgsConstructor
|
||||
@Getter
|
||||
public enum DecoratePageTypeEnum implements IntArrayValuable {
|
||||
|
||||
INDEX(1, "首页");
|
||||
|
||||
private static final int[] ARRAYS = Arrays.stream(values()).mapToInt(DecoratePageTypeEnum::getType).toArray();
|
||||
@ -31,4 +32,5 @@ public enum DecoratePageTypeEnum implements IntArrayValuable {
|
||||
public int[] array() {
|
||||
return ARRAYS;
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user