1. 统一包名修改
This commit is contained in:
@@ -15,7 +15,7 @@ public class CompanyDeptInfoRespDTO {
|
||||
@Schema(description = "公司编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
|
||||
private Long companyId;
|
||||
|
||||
@Schema(description = "公司名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "ZT源码")
|
||||
@Schema(description = "公司名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋道源码")
|
||||
private String companyName;
|
||||
|
||||
@Schema(description = "部门编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
|
||||
|
||||
@@ -17,7 +17,7 @@ public class DeptDetailRespDTO {
|
||||
@Schema(description = "部门编号", example = "1024")
|
||||
private Long id;
|
||||
|
||||
@Schema(description = "部门名称", example = "ZT")
|
||||
@Schema(description = "部门名称", example = "芋道")
|
||||
private String name;
|
||||
|
||||
@Schema(description = "父部门 ID", example = "1024")
|
||||
@@ -32,7 +32,7 @@ public class DeptDetailRespDTO {
|
||||
@Schema(description = "联系电话", example = "15601691000")
|
||||
private String phone;
|
||||
|
||||
@Schema(description = "邮箱", example = "cloud@iocoder.cn")
|
||||
@Schema(description = "邮箱", example = "zt@iocoder.cn")
|
||||
private String email;
|
||||
|
||||
@Schema(description = "状态,见 CommonStatusEnum 枚举", example = "1")
|
||||
|
||||
@@ -12,7 +12,7 @@ import lombok.Data;
|
||||
@Data
|
||||
public class DeptListReqDTO {
|
||||
|
||||
@Schema(description = "部门名称,模糊匹配", example = "ZT")
|
||||
@Schema(description = "部门名称,模糊匹配", example = "芋道")
|
||||
private String name;
|
||||
|
||||
@Schema(description = "展示状态,参见 CommonStatusEnum 枚举类", example = "1")
|
||||
|
||||
@@ -15,7 +15,7 @@ public class DeptSaveReqDTO {
|
||||
@Schema(description = "部门编号", example = "1024")
|
||||
private Long id;
|
||||
|
||||
@Schema(description = "部门名称", example = "ZT")
|
||||
@Schema(description = "部门名称", example = "芋道")
|
||||
private String name;
|
||||
|
||||
@Schema(description = "父部门 ID", example = "1024")
|
||||
@@ -30,7 +30,7 @@ public class DeptSaveReqDTO {
|
||||
@Schema(description = "联系电话", example = "15601691000")
|
||||
private String phone;
|
||||
|
||||
@Schema(description = "邮箱", example = "cloud@iocoder.cn")
|
||||
@Schema(description = "邮箱", example = "zt@iocoder.cn")
|
||||
private String email;
|
||||
|
||||
@Schema(description = "状态,见 CommonStatusEnum 枚举0 开启 1 关闭", example = "0")
|
||||
|
||||
@@ -15,7 +15,7 @@ public class DeptSimpleRespDTO {
|
||||
@Schema(description = "部门编号", example = "1024")
|
||||
private Long id;
|
||||
|
||||
@Schema(description = "部门名称", example = "ZT")
|
||||
@Schema(description = "部门名称", example = "芋道")
|
||||
private String name;
|
||||
|
||||
@Schema(description = "父部门 ID", example = "1024")
|
||||
|
||||
@@ -15,10 +15,10 @@ import lombok.EqualsAndHashCode;
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class PostPageReqDTO extends PageParam {
|
||||
|
||||
@Schema(description = "岗位编码,模糊匹配", example = "cloud")
|
||||
@Schema(description = "岗位编码,模糊匹配", example = "zt")
|
||||
private String code;
|
||||
|
||||
@Schema(description = "岗位名称,模糊匹配", example = "ZT")
|
||||
@Schema(description = "岗位名称,模糊匹配", example = "芋道")
|
||||
private String name;
|
||||
|
||||
@Schema(description = "展示状态,参见 CommonStatusEnum 枚举类", example = "1")
|
||||
|
||||
@@ -18,7 +18,7 @@ public class PostRespDTO {
|
||||
@Schema(description = "岗位名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "小土豆")
|
||||
private String name;
|
||||
|
||||
@Schema(description = "岗位编码", requiredMode = Schema.RequiredMode.REQUIRED, example = "cloud")
|
||||
@Schema(description = "岗位编码", requiredMode = Schema.RequiredMode.REQUIRED, example = "zt")
|
||||
private String code;
|
||||
|
||||
@Schema(description = "岗位排序", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
|
||||
|
||||
@@ -18,7 +18,7 @@ public class PostSaveReqDTO {
|
||||
@Schema(description = "岗位名称", example = "小土豆")
|
||||
private String name;
|
||||
|
||||
@Schema(description = "岗位编码", example = "cloud")
|
||||
@Schema(description = "岗位编码", example = "zt")
|
||||
private String code;
|
||||
|
||||
@Schema(description = "显示顺序", example = "1024")
|
||||
|
||||
@@ -15,7 +15,7 @@ import lombok.EqualsAndHashCode;
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class DictDataPageReqDTO extends PageParam {
|
||||
|
||||
@Schema(description = "字典标签", example = "ZT")
|
||||
@Schema(description = "字典标签", example = "芋道")
|
||||
private String label;
|
||||
|
||||
@Schema(description = "字典类型,模糊匹配", example = "sys_common_sex")
|
||||
|
||||
@@ -22,7 +22,7 @@ public class LoginLogCreateReqDTO {
|
||||
@Schema(description = "用户类型,参见 UserTypeEnum 枚举", requiredMode = Schema.RequiredMode.REQUIRED, example = "2" )
|
||||
@NotNull(message = "用户类型不能为空")
|
||||
private Integer userType;
|
||||
@Schema(description = "用户账号", example = "cloud")
|
||||
@Schema(description = "用户账号", example = "zt")
|
||||
@Size(max = 30, message = "用户账号长度不能超过30个字符")
|
||||
private String username; // 不再强制校验 username 非空,因为 Member 社交登录时,此时暂时没有 username(mobile)!
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ public class OperateLogRespDTO implements VO {
|
||||
@Schema(description = "用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "666")
|
||||
@Trans(type = TransType.AUTO_TRANS, key = AdminUserApi.PREFIX, fields = "nickname", ref = "userName")
|
||||
private Long userId;
|
||||
@Schema(description = "用户名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "ZT")
|
||||
@Schema(description = "用户名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋道")
|
||||
private String userName;
|
||||
@Schema(description = "用户类型,参见 UserTypeEnum 枚举", requiredMode = Schema.RequiredMode.REQUIRED, example = "2" )
|
||||
private Integer userType;
|
||||
@@ -32,7 +32,7 @@ public class OperateLogRespDTO implements VO {
|
||||
@Schema(description = "操作模块业务编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "188")
|
||||
private Long bizId;
|
||||
@Schema(description = "操作内容", requiredMode = Schema.RequiredMode.REQUIRED,
|
||||
example = "修改编号为 1 的用户信息,将性别从男改成女,将姓名从ZT改成源码")
|
||||
example = "修改编号为 1 的用户信息,将性别从男改成女,将姓名从芋道改成源码")
|
||||
private String action;
|
||||
@Schema(description = "拓展字段", example = "{\"orderId\": \"1\"}")
|
||||
private String extra;
|
||||
|
||||
@@ -17,7 +17,7 @@ import java.time.LocalDateTime;
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class RolePageReqDTO extends PageParam {
|
||||
|
||||
@Schema(description = "角色名称,模糊匹配", example = "ZT")
|
||||
@Schema(description = "角色名称,模糊匹配", example = "芋道")
|
||||
private String name;
|
||||
|
||||
@Schema(description = "角色标识,模糊匹配", example = "admin")
|
||||
|
||||
@@ -47,7 +47,7 @@ public interface SocialClientApi {
|
||||
@Operation(summary = "获得微信小程序的手机信息")
|
||||
@Parameters({
|
||||
@Parameter(name = "userType", description = "用户类型", example = "1", required = true),
|
||||
@Parameter(name = "phoneCode", description = "手机授权码", example = "cloud11", required = true)
|
||||
@Parameter(name = "phoneCode", description = "手机授权码", example = "zt11", required = true)
|
||||
})
|
||||
CommonResult<SocialWxPhoneNumberInfoRespDTO> getWxMaPhoneNumberInfo(@RequestParam("userType") Integer userType,
|
||||
@RequestParam("phoneCode") String phoneCode);
|
||||
|
||||
@@ -15,7 +15,7 @@ import lombok.EqualsAndHashCode;
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class SocialClientPageReqDTO extends PageParam {
|
||||
|
||||
@Schema(description = "应用名,模糊匹配", example = "cloud")
|
||||
@Schema(description = "应用名,模糊匹配", example = "zt")
|
||||
private String name;
|
||||
|
||||
@Schema(description = "社交平台的类型", example = "1")
|
||||
|
||||
@@ -17,7 +17,7 @@ public class SocialClientRespDTO {
|
||||
@Schema(description = "编号", example = "27162")
|
||||
private Long id;
|
||||
|
||||
@Schema(description = "应用名", example = "cloud商城")
|
||||
@Schema(description = "应用名", example = "zt商城")
|
||||
private String name;
|
||||
|
||||
@Schema(description = "社交平台的类型", example = "31")
|
||||
|
||||
@@ -15,7 +15,7 @@ public class SocialClientSaveReqDTO {
|
||||
@Schema(description = "编号", example = "27162")
|
||||
private Long id;
|
||||
|
||||
@Schema(description = "应用名", example = "cloud商城")
|
||||
@Schema(description = "应用名", example = "zt商城")
|
||||
private String name;
|
||||
|
||||
@Schema(description = "社交平台的类型", example = "31")
|
||||
|
||||
@@ -14,7 +14,7 @@ public class SocialUserRespDTO {
|
||||
@Schema(description = "社交用户 openid", requiredMode = Schema.RequiredMode.REQUIRED, example = "zsw")
|
||||
private String openid;
|
||||
|
||||
@Schema(description = "社交用户的昵称", requiredMode = Schema.RequiredMode.REQUIRED, example = "ZT源码")
|
||||
@Schema(description = "社交用户的昵称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋道源码")
|
||||
private String nickname;
|
||||
|
||||
@Schema(description = "社交用户的头像", requiredMode = Schema.RequiredMode.REQUIRED, example = "https://www.iocoder.cn/1.jpg")
|
||||
|
||||
@@ -20,7 +20,7 @@ public class AdminUserDetailRespDTO {
|
||||
@Schema(description = "用户编号", example = "1")
|
||||
private Long id;
|
||||
|
||||
@Schema(description = "用户账号", example = "cloud")
|
||||
@Schema(description = "用户账号", example = "zt")
|
||||
private String username;
|
||||
|
||||
@Schema(description = "用户昵称", example = "芋艿")
|
||||
@@ -35,7 +35,7 @@ public class AdminUserDetailRespDTO {
|
||||
@Schema(description = "岗位编号数组", example = "1")
|
||||
private Set<Long> postIds;
|
||||
|
||||
@Schema(description = "用户邮箱", example = "cloud@iocoder.cn")
|
||||
@Schema(description = "用户邮箱", example = "zt@iocoder.cn")
|
||||
private String email;
|
||||
|
||||
@Schema(description = "手机号码", example = "15601691300")
|
||||
|
||||
@@ -17,10 +17,10 @@ import java.time.LocalDateTime;
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class AdminUserPageReqDTO extends PageParam {
|
||||
|
||||
@Schema(description = "用户账号,模糊匹配", example = "cloud")
|
||||
@Schema(description = "用户账号,模糊匹配", example = "zt")
|
||||
private String username;
|
||||
|
||||
@Schema(description = "手机号码,模糊匹配", example = "cloud")
|
||||
@Schema(description = "手机号码,模糊匹配", example = "zt")
|
||||
private String mobile;
|
||||
|
||||
@Schema(description = "展示状态,参见 CommonStatusEnum 枚举类", example = "1")
|
||||
|
||||
@@ -17,7 +17,7 @@ public class AdminUserSaveReqDTO {
|
||||
@Schema(description = "用户编号", example = "1024")
|
||||
private Long id;
|
||||
|
||||
@Schema(description = "用户账号", example = "cloud")
|
||||
@Schema(description = "用户账号", example = "zt")
|
||||
private String username;
|
||||
|
||||
@Schema(description = "用户昵称", example = "芋艿")
|
||||
@@ -32,7 +32,7 @@ public class AdminUserSaveReqDTO {
|
||||
@Schema(description = "岗位编号数组", example = "1")
|
||||
private Set<Long> postIds;
|
||||
|
||||
@Schema(description = "用户邮箱", example = "cloud@iocoder.cn")
|
||||
@Schema(description = "用户邮箱", example = "zt@iocoder.cn")
|
||||
private String email;
|
||||
|
||||
@Schema(description = "手机号码", example = "15601691300")
|
||||
|
||||
@@ -15,7 +15,7 @@ public class AdminUserSimpleRespDTO {
|
||||
@Schema(description = "用户编号", example = "1024")
|
||||
private Long id;
|
||||
|
||||
@Schema(description = "用户昵称", example = "ZT")
|
||||
@Schema(description = "用户昵称", example = "芋道")
|
||||
private String nickname;
|
||||
|
||||
@Schema(description = "部门ID", example = "1")
|
||||
|
||||
Reference in New Issue
Block a user