diff --git a/pigx-upms/pigx-upms-api/src/main/java/com/pig4cloud/pigx/admin/api/constant/ConnectConstants.java b/pigx-upms/pigx-upms-api/src/main/java/com/pig4cloud/pigx/admin/api/constant/ConnectConstants.java deleted file mode 100644 index 5f17ba134..000000000 --- a/pigx-upms/pigx-upms-api/src/main/java/com/pig4cloud/pigx/admin/api/constant/ConnectConstants.java +++ /dev/null @@ -1,73 +0,0 @@ -package com.pig4cloud.pigx.admin.api.constant; - -/** - * 第三方连接常量类 - *
- * 用于定义第三方平台(如钉钉)连接相关的字段名称和常量值 - * - * @author lengleng - * @date 2026/01/10 - */ -public interface ConnectConstants { - - /** - * JSON字段名: 手机号 - */ - String FIELD_MOBILE = "mobile"; - - /** - * JSON字段名: 头像 - */ - String FIELD_AVATAR = "avatar"; - - /** - * JSON字段名: 昵称 - */ - String FIELD_NICKNAME = "nickname"; - - /** - * JSON字段名: 姓名 - */ - String FIELD_NAME = "name"; - - /** - * JSON字段名: 邮箱 - */ - String FIELD_EMAIL = "email"; - - /** - * JSON字段名: 部门ID - */ - String FIELD_DEPT_ID = "dept_id"; - - /** - * JSON字段名: 父部门ID - */ - String FIELD_PARENT_ID = "parent_id"; - - /** - * JSON字段名: 部门顺序列表 - */ - String FIELD_DEPT_ORDER_LIST = "dept_order_list"; - - /** - * JSON字段名: 用户ID列表 - */ - String FIELD_USERID_LIST = "userid_list"; - - /** - * JSON字段名: 返回结果 - */ - String FIELD_RESULT = "result"; - - /** - * 语言代码: 简体中文 - */ - String LANGUAGE_ZH_CN = "zh_CN"; - - /** - * 钉钉根部门ID - */ - Long ROOT_DEPT_ID = 1L; - -} diff --git a/pigx-upms/pigx-upms-api/src/main/java/com/pig4cloud/pigx/admin/api/entity/SysDeptRelation.java b/pigx-upms/pigx-upms-api/src/main/java/com/pig4cloud/pigx/admin/api/entity/SysDeptRelation.java deleted file mode 100644 index d14bdfda1..000000000 --- a/pigx-upms/pigx-upms-api/src/main/java/com/pig4cloud/pigx/admin/api/entity/SysDeptRelation.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * - * Copyright (c) 2018-2026, lengleng All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * Neither the name of the pig4cloud.com developer nor the names of its - * contributors may be used to endorse or promote products derived from - * this software without specific prior written permission. - * Author: lengleng (wangiegie@gmail.com) - * - */ - -package com.pig4cloud.pigx.admin.api.entity; - -import com.baomidou.mybatisplus.extension.activerecord.Model; -import io.swagger.v3.oas.annotations.media.Schema; -import lombok.Data; -import lombok.EqualsAndHashCode; - -/** - *
- * 部门关系表 - *
- * - * @author lengleng - * @since 2018-01-22 - */ -@Data -@Schema(description = "部门关系") -@EqualsAndHashCode(callSuper = true) -public class SysDeptRelation extends Model- * 角色表 - *
- * - * @author lengleng - * @date 2020/2/10 - */ -@Data -@Schema(description = "前端角色展示对象") -public class RoleVO implements Serializable { - - private static final long serialVersionUID = 1L; - - /** - * 角色ID - */ - @Schema(description = "角色ID") - private Long roleId; - - /** - * 角色名称 - */ - @Schema(description = "角色名称") - private String roleName; - - /** - * 角色标识 - */ - @Schema(description = "角色标识") - private String roleCode; - - /** - * 角色描述 - */ - @Schema(description = "角色描述") - private String roleDesc; - - /** - * 数据权限类型 - */ - @Schema(description = "数据权限类型") - private Integer dsType; - - /** - * 数据权限作用范围 - */ - @Schema(description = "数据权限作用范围") - private String dsScope; - - /** - * 创建时间 - */ - @Schema(description = "创建时间") - private LocalDateTime createTime; - - /** - * 修改时间 - */ - @Schema(description = "修改时间") - private LocalDateTime updateTime; - - /** - * 租户ID - */ - @Schema(description = "用户所属租户id") - private Long tenantId; - -} diff --git a/pigx-upms/pigx-upms-api/src/main/java/com/pig4cloud/pigx/admin/api/vo/SysSystemSmsConfigVO.java b/pigx-upms/pigx-upms-api/src/main/java/com/pig4cloud/pigx/admin/api/vo/SysSystemSmsConfigVO.java deleted file mode 100644 index ea4e857ef..000000000 --- a/pigx-upms/pigx-upms-api/src/main/java/com/pig4cloud/pigx/admin/api/vo/SysSystemSmsConfigVO.java +++ /dev/null @@ -1,62 +0,0 @@ -package com.pig4cloud.pigx.admin.api.vo; - -import com.pig4cloud.pigx.common.sensitive.annotation.Sensitive; -import com.pig4cloud.pigx.common.sensitive.core.SensitiveTypeEnum; -import lombok.Data; - -/** - * 系统短信配置 - * - * @author lengleng - * @date 2024/7/14 - */ -@Data -public class SysSystemSmsConfigVO { - - /** - * 配置标识 - */ - private String configId; - - /** - * 厂商标识 - */ - private String supplier; - - /** - * accessKey - */ - private String accessKeyId; - - /** - * accessKeySecret - */ - @Sensitive(type = SensitiveTypeEnum.KEY) - private String accessKeySecret; - - /** - * 短信签名 - */ - private String signature; - - /** - * 模板ID - */ - private String templateId; - - /** - * sdkAppId - */ - private String sdkAppId; - - /** - * 重试间隔(单位:秒),默认为5秒 - */ - private int retryInterval = 5; - - /** - * 最大发送数量,默认integer上限 - */ - private int maximum = Integer.MAX_VALUE; - -}