mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-08 04:39:00 +08:00
feat(api): 删除不再使用的 ConnectConstants、SysDeptRelation、CpUserExcelVo、RoleVO 和 SysSystemSmsConfigVO 类文件
- 移除 ConnectConstants 接口及其相关常量定义 - 删除 SysDeptRelation 类,涉及部门关系表的定义 - 移除 CpUserExcelVo 类,涉及企业微信用户导入的定义 - 删除 RoleVO 类,涉及角色表的定义 - 移除 SysSystemSmsConfigVO 类,涉及系统短信配置的定义 (cherry picked from commit 7ef91170320ae5920458b6e0d64c97e0c6422f62)
This commit is contained in:
1 parent
72ac720fb6
commit
fbb5bd121c
5 files changed
-347
No files matched your search
-73
@@ -1,73 +0,0 @@
|
||||
package com.pig4cloud.pigx.admin.api.constant;
|
||||
|
||||
/**
|
||||
* 第三方连接常量类
|
||||
* <p>
|
||||
* 用于定义第三方平台(如钉钉)连接相关的字段名称和常量值
|
||||
*
|
||||
* @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;
|
||||
|
||||
}
|
||||
-54
@@ -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;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 部门关系表
|
||||
* </p>
|
||||
*
|
||||
* @author lengleng
|
||||
* @since 2018-01-22
|
||||
*/
|
||||
@Data
|
||||
@Schema(description = "部门关系")
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class SysDeptRelation extends Model<SysDeptRelation> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 祖先节点
|
||||
*/
|
||||
@Schema(description = "祖先节点")
|
||||
private Long ancestor;
|
||||
|
||||
/**
|
||||
* 后代节点
|
||||
*/
|
||||
@Schema(description = "后代节点")
|
||||
private Long descendant;
|
||||
|
||||
}
|
||||
-64
@@ -1,64 +0,0 @@
|
||||
package com.pig4cloud.pigx.admin.api.vo;
|
||||
|
||||
import org.apache.fesod.sheet.annotation.ExcelIgnore;
|
||||
import org.apache.fesod.sheet.annotation.ExcelProperty;
|
||||
import com.pig4cloud.pigx.common.excel.annotation.ExcelLine;
|
||||
import jakarta.validation.constraints.NotBlank;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 企业微信用户导入
|
||||
*/
|
||||
@Data
|
||||
public class CpUserExcelVo implements Serializable {
|
||||
|
||||
/**
|
||||
* 导入时候回显行号
|
||||
*/
|
||||
@ExcelLine
|
||||
@ExcelIgnore
|
||||
private Long lineNum;
|
||||
|
||||
@NotBlank(message = "帐号不能为空")
|
||||
@ExcelProperty("帐号")
|
||||
private String username;
|
||||
|
||||
/**
|
||||
* 手机号
|
||||
*/
|
||||
@NotBlank(message = "手机号不能为空")
|
||||
@ExcelProperty("手机")
|
||||
private String phone;
|
||||
|
||||
/**
|
||||
* 姓名
|
||||
*/
|
||||
@NotBlank(message = "姓名不能为空")
|
||||
@ExcelProperty("姓名")
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 别名
|
||||
*/
|
||||
@ExcelProperty("别名")
|
||||
private String nickname;
|
||||
|
||||
/**
|
||||
* 部门名称
|
||||
*/
|
||||
@NotBlank(message = "部门不能为空")
|
||||
@ExcelProperty("部门")
|
||||
private String deptName;
|
||||
|
||||
@ExcelProperty("企业邮箱")
|
||||
private String email;
|
||||
|
||||
/**
|
||||
* 锁定标记
|
||||
*/
|
||||
@ExcelProperty("激活状态,0:已激活,9:未激活")
|
||||
private String lockFlag;
|
||||
|
||||
}
|
||||
@@ -1,94 +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.vo;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 角色表
|
||||
* </p>
|
||||
*
|
||||
* @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;
|
||||
|
||||
}
|
||||
-62
@@ -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;
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user