houzhongjian
2025-06-18 b15fed198fa1fc64c82dd4d4dfceed8439ded204
iailab-module-system/iailab-module-system-api/src/main/java/com/iailab/module/system/enums/social/SocialTypeEnum.java
@@ -1,7 +1,7 @@
package com.iailab.module.system.enums.social;
import cn.hutool.core.util.ArrayUtil;
import com.iailab.framework.common.core.IntArrayValuable;
import com.iailab.framework.common.core.ArrayValuable;
import lombok.AllArgsConstructor;
import lombok.Getter;
@@ -14,7 +14,7 @@
 */
@Getter
@AllArgsConstructor
public enum SocialTypeEnum implements IntArrayValuable {
public enum SocialTypeEnum implements ArrayValuable {
    /**
     * Gitee
@@ -54,8 +54,7 @@
     */
    WECHAT_MINI_APP(34, "WECHAT_MINI_APP"),
    ;
    public static final int[] ARRAYS = Arrays.stream(values()).mapToInt(SocialTypeEnum::getType).toArray();
    public static final Integer[] ARRAYS = Arrays.stream(values()).map(SocialTypeEnum::getType).toArray(Integer[]::new);
    /**
     * 类型
@@ -67,7 +66,7 @@
    private final String source;
    @Override
    public int[] array() {
    public Integer[] array() {
        return ARRAYS;
    }