1. 替换原始 code 签名

2. 服务与模块生成器,支持指定起始端口批量端口分配

(cherry picked from commit e99da38fd4)
This commit is contained in:
chenbowen
2025-09-02 10:15:16 +08:00
committed by chenbowen
parent 9540e8fddd
commit b8f9c7016c
778 changed files with 876 additions and 801 deletions

View File

@@ -6,7 +6,7 @@ import lombok.Data;
/**
* 岗位 Response DTO
*
* @author 芋道源码
* @author ZT
*/
@Schema(description = "RPC 服务 - 岗位 Response DTO")
@Data

View File

@@ -10,7 +10,7 @@ import java.time.LocalDateTime;
* 小程序订单上传购物详情
*
* @see <a href="https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/shopping-order/normal-shopping-detail/uploadShoppingInfo.html">上传购物详情</a>
* @author 芋道源码
* @author ZT
*/
@Data
public class SocialWxaOrderNotifyConfirmReceiveReqDTO {

View File

@@ -8,7 +8,7 @@ import lombok.Data;
* 小程序订单上传购物详情
*
* @see <a href="https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/shopping-order/normal-shopping-detail/uploadShoppingInfo.html">上传购物详情</a>
* @author 芋道源码
* @author ZT
*/
@Data
public class SocialWxaOrderUploadShippingInfoReqDTO {

View File

@@ -5,7 +5,7 @@ import cn.iocoder.yudao.framework.common.enums.RpcConstants;
/**
* API 相关的枚举
*
* @author 芋道源码
* @author ZT
*/
public class ApiConstants {

View File

@@ -3,7 +3,7 @@ package cn.iocoder.yudao.module.system.enums;
/**
* System 字典类型的枚举类
*
* @author 芋道源码
* @author ZT
*/
public interface DictTypeConstants {

View File

@@ -4,7 +4,7 @@ package cn.iocoder.yudao.module.system.enums;
* System 操作日志枚举
* 目的:统一管理,也减少 Service 里各种“复杂”字符串
*
* @author 芋道源码
* @author ZT
*/
public interface LogRecordConstants {

View File

@@ -6,7 +6,7 @@ import lombok.Getter;
/**
* 性别的枚举值
*
* @author 芋道源码
* @author ZT
*/
@Getter
@AllArgsConstructor

View File

@@ -6,7 +6,7 @@ import lombok.Getter;
/**
* 通知类型
*
* @author 芋道源码
* @author ZT
*/
@Getter
@AllArgsConstructor

View File

@@ -3,7 +3,7 @@ package cn.iocoder.yudao.module.system.enums.oauth2;
/**
* OAuth2.0 客户端的通用枚举
*
* @author 芋道源码
* @author ZT
*/
public interface OAuth2ClientConstants {

View File

@@ -7,7 +7,7 @@ import lombok.Getter;
/**
* OAuth2 授权类型(模式)的枚举
*
* @author 芋道源码
* @author ZT
*/
@AllArgsConstructor
@Getter

View File

@@ -11,7 +11,7 @@ import java.util.Arrays;
*
* 用于实现数据级别的权限
*
* @author 芋道源码
* @author ZT
*/
@Getter
@AllArgsConstructor

View File

@@ -6,7 +6,7 @@ import lombok.Getter;
/**
* 菜单类型枚举类
*
* @author 芋道源码
* @author ZT
*/
@Getter
@AllArgsConstructor

View File

@@ -6,7 +6,7 @@ import lombok.Getter;
/**
* 短信的接收状态枚举
*
* @author 芋道源码
* @author ZT
* @date 2021/2/1 13:39
*/
@Getter

View File

@@ -10,7 +10,7 @@ import java.util.Arrays;
/**
* 用户短信验证码发送场景的枚举
*
* @author 芋道源码
* @author ZT
*/
@Getter
@AllArgsConstructor

View File

@@ -6,7 +6,7 @@ import lombok.Getter;
/**
* 短信的模板类型枚举
*
* @author 芋道源码
* @author ZT
*/
@Getter
@AllArgsConstructor

View File

@@ -10,7 +10,7 @@ import java.util.Arrays;
/**
* 社交平台的类型枚举
*
* @author 芋道源码
* @author ZT
*/
@Getter
@AllArgsConstructor

View File

@@ -10,7 +10,7 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
* 如果你碰到启动的问题,请认真阅读 http://172.16.46.63:30888/quick-start/ 文章
* 如果你碰到启动的问题,请认真阅读 http://172.16.46.63:30888/quick-start/ 文章
*
* @author 芋道源码
* @author ZT
*/
@SpringBootApplication
public class SystemServerApplication {

View File

@@ -27,7 +27,7 @@ import static cn.iocoder.yudao.framework.common.util.collection.CollectionUtils.
/**
* 社交应用的 API 实现类
*
* @author 芋道源码
* @author ZT
*/
@RestController
@Validated

View File

@@ -52,7 +52,7 @@ import static cn.iocoder.yudao.framework.security.core.util.SecurityFrameworkUti
* 考虑到【本系统】暂时不想做的过于复杂,默认只有获取到 access token 之后,可以访问【本系统】管理后台的 /system-api/* 所有接口,除非手动添加 scope 控制。
* scope 的使用示例,可见 {@link OAuth2UserController} 类
*
* @author 芋道源码
* @author ZT
*/
@Tag(name = "管理后台 - OAuth2.0 授权")
@RestController

View File

@@ -37,7 +37,7 @@ import static cn.iocoder.yudao.framework.security.core.util.SecurityFrameworkUti
* 1. 在 getUserInfo 方法上,添加 @PreAuthorize("@ss.hasScope('user.read')") 注解,声明需要满足 scope = user.read
* 2. 在 updateUserInfo 方法上,添加 @PreAuthorize("@ss.hasScope('user.write')") 注解,声明需要满足 scope = user.write
*
* @author 芋道源码
* @author ZT
*/
@Tag(name = "管理后台 - OAuth2.0 用户")
@RestController

View File

@@ -23,7 +23,7 @@ import static cn.iocoder.yudao.framework.common.pojo.CommonResult.success;
/**
* 权限 Controller提供赋予用户、角色的权限的 API 接口
*
* @author 芋道源码
* @author ZT
*/
@Tag(name = "管理后台 - 权限")
@RestController

View File

@@ -21,7 +21,7 @@ import static cn.iocoder.yudao.framework.common.pojo.CommonResult.success;
/**
* 同步接口日志 Controller
*
* @author 芋道源码
* @author ZT
*/
@Tag(name = "管理后台 - 同步接口日志")
@RestController

View File

@@ -14,7 +14,7 @@ import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_
/**
* 同步接口日志分页 Request VO
*
* @author 芋道源码
* @author ZT
*/
@Schema(description = "管理后台 - 同步接口日志分页 Request VO")
@Data

View File

@@ -8,7 +8,7 @@ import java.time.LocalDateTime;
/**
* 同步接口日志 Response VO
*
* @author 芋道源码
* @author ZT
*/
@Schema(description = "管理后台 - 同步接口日志 Response VO")
@Data

View File

@@ -8,7 +8,7 @@ import org.mapstruct.factory.Mappers;
/**
* 租户 Convert
*
* @author 芋道源码
* @author ZT
*/
@Mapper
public interface TenantConvert {

View File

@@ -17,7 +17,7 @@ import lombok.ToString;
*
* 注意,包括登录和登出两种行为
*
* @author 芋道源码
* @author ZT
*/
@TableName("system_login_log")
@KeySequence("system_login_log_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。

View File

@@ -11,7 +11,7 @@ import lombok.Data;
/**
* 操作日志表
*
* @author 芋道源码
* @author ZT
*/
@TableName(value = "system_operate_log", autoResultMap = true)
@KeySequence("system_operate_log_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。

View File

@@ -17,7 +17,7 @@ import java.util.Map;
* 如下字段,暂时未使用,暂时不支持:
* user_name、authentication用户信息
*
* @author 芋道源码
* @author ZT
*/
@TableName(value = "system_oauth2_access_token", autoResultMap = true)
@KeySequence("system_oauth2_access_token_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。

View File

@@ -16,7 +16,7 @@ import java.time.LocalDateTime;
*
* 用户在 sso.vue 界面时,记录接受的 scope 列表
*
* @author 芋道源码
* @author ZT
*/
@TableName(value = "system_oauth2_approve", autoResultMap = true)
@KeySequence("system_oauth2_approve_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。

View File

@@ -14,7 +14,7 @@ import java.util.List;
/**
* OAuth2 客户端 DO
*
* @author 芋道源码
* @author ZT
*/
@TableName(value = "system_oauth2_client", autoResultMap = true)
@KeySequence("system_oauth2_client_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。

View File

@@ -13,7 +13,7 @@ import java.util.List;
/**
* OAuth2 授权码 DO
*
* @author 芋道源码
* @author ZT
*/
@TableName(value = "system_oauth2_code", autoResultMap = true)
@KeySequence("system_oauth2_code_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。

View File

@@ -14,7 +14,7 @@ import java.util.List;
/**
* OAuth2 刷新令牌
*
* @author 芋道源码
* @author ZT
*/
@TableName(value = "system_oauth2_refresh_token", autoResultMap = true)
// 由于 Oracle 的 SEQ 的名字长度有限制,所以就先用 system_oauth2_access_token_seq 吧,反正也没啥问题

View File

@@ -15,7 +15,7 @@ import java.time.LocalDateTime;
*
* idx_mobile 索引:基于 {@link #mobile} 字段
*
* @author 芋道源码
* @author ZT
*/
@TableName("system_sms_code")
@KeySequence("system_sms_code_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。

View File

@@ -16,7 +16,7 @@ import me.zhyd.oauth.config.AuthConfig;
*
* 对应 {@link AuthConfig} 配置,满足不同租户,有自己的客户端配置,实现社交(三方)登录
*
* @author 芋道源码
* @author ZT
*/
@TableName(value = "system_social_client", autoResultMap = true)
@KeySequence("system_social_client_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。

View File

@@ -12,7 +12,7 @@ import lombok.*;
* 社交用户的绑定
* 即 {@link SocialUserDO} 与 UserDO 的关联表
*
* @author 芋道源码
* @author ZT
*/
@TableName(value = "system_social_user_bind", autoResultMap = true)
@KeySequence("system_social_user_bind_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。

View File

@@ -16,7 +16,7 @@ import java.time.LocalDateTime;
*
* 用于记录外部系统调用同步接口的详细信息,包括加密和解密的过程
*
* @author 芋道源码
* @author ZT
*/
@TableName("system_sync_log")
@KeySequence("system_sync_log_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。

View File

@@ -15,7 +15,7 @@ import java.time.LocalDateTime;
/**
* 租户 DO
*
* @author 芋道源码
* @author ZT
*/
@TableName(value = "system_tenant", autoResultMap = true)
@KeySequence("system_tenant_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。

View File

@@ -12,7 +12,7 @@ import java.util.Set;
/**
* 租户套餐 DO
*
* @author 芋道源码
* @author ZT
*/
@TableName(value = "system_tenant_package", autoResultMap = true)
@KeySequence("system_tenant_package_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。

View File

@@ -17,7 +17,7 @@ import java.util.Set;
/**
* 管理后台的用户 DO
*
* @author 芋道源码
* @author ZT
*/
@TableName(value = "system_users", autoResultMap = true) // 由于 SQL Server 的 system_user 是关键字,所以使用 system_users
@KeySequence("system_users_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。

View File

@@ -11,7 +11,7 @@ import org.apache.ibatis.annotations.Mapper;
/**
* OAuth2 客户端 Mapper
*
* @author 芋道源码
* @author ZT
*/
@Mapper
public interface OAuth2ClientMapper extends BaseMapperX<OAuth2ClientDO> {

View File

@@ -10,7 +10,7 @@ import org.apache.ibatis.annotations.Mapper;
/**
* 同步接口日志 Mapper
*
* @author 芋道源码
* @author ZT
*/
@Mapper
public interface SyncLogMapper extends BaseMapperX<SyncLogDO> {

View File

@@ -12,7 +12,7 @@ import java.util.List;
/**
* 租户 Mapper
*
* @author 芋道源码
* @author ZT
*/
@Mapper
public interface TenantMapper extends BaseMapperX<TenantDO> {

View File

@@ -12,7 +12,7 @@ import java.util.List;
/**
* 租户套餐 Mapper
*
* @author 芋道源码
* @author ZT
*/
@Mapper
public interface TenantPackageMapper extends BaseMapperX<TenantPackageDO> {

View File

@@ -5,7 +5,7 @@ import cn.iocoder.yudao.module.system.dal.dataobject.oauth2.OAuth2AccessTokenDO;
/**
* System Redis Key 枚举类
*
* @author 芋道源码
* @author ZT
*/
public interface RedisKeyConstants {

View File

@@ -19,7 +19,7 @@ import static cn.iocoder.yudao.module.system.dal.redis.RedisKeyConstants.OAUTH2_
/**
* {@link OAuth2AccessTokenDO} 的 RedisDAO
*
* @author 芋道源码
* @author ZT
*/
@Repository
public class OAuth2AccessTokenRedisDAO {

View File

@@ -6,7 +6,7 @@ import lombok.Getter;
/**
* 同步接口日志状态枚举
*
* @author 芋道源码
* @author ZT
*/
@AllArgsConstructor
@Getter

View File

@@ -14,7 +14,7 @@ import org.springframework.data.redis.core.StringRedisTemplate;
/**
* 验证码的配置类
*
* @author 芋道源码
* @author ZT
*/
@Configuration(proxyBeanMethods = false)
@ImportAutoConfiguration(AjCaptchaAutoConfiguration.class) // 目的:解决 aj-captcha 针对 SpringBoot 3.X 自动配置不生效的问题

View File

@@ -10,7 +10,7 @@ import org.springframework.context.annotation.Configuration;
/**
* system 模块的数据权限 Configuration
*
* @author 芋道源码
* @author ZT
*/
@Configuration(proxyBeanMethods = false)
public class DataPermissionConfiguration {

View File

@@ -13,7 +13,7 @@ import org.springframework.data.redis.core.RedisTemplate;
/**
* JustAuth 配置类 TODO 芋艿:等 justauth 1.4.1 版本发布!!!
*
* @author 芋道源码
* @author ZT
*/
@Configuration(proxyBeanMethods = false)
@EnableConfigurationProperties({JustAuthProperties.class})

View File

@@ -1,6 +1,6 @@
/**
* justauth 三方登录的拓展
*
* @author 芋道源码
* @author ZT
*/
package cn.iocoder.yudao.module.system.framework.justauth;

View File

@@ -1,6 +1,6 @@
/**
* 属于 system 模块的 framework 封装
*
* @author 芋道源码
* @author ZT
*/
package cn.iocoder.yudao.module.system.framework;

View File

@@ -9,7 +9,7 @@ import org.springframework.context.annotation.Configuration;
/**
* 短信配置类,包括短信客户端、短信验证码两部分
*
* @author 芋道源码
* @author ZT
*/
@Configuration(proxyBeanMethods = false)
@EnableConfigurationProperties(SmsCodeProperties.class)

View File

@@ -7,7 +7,7 @@ import java.time.LocalDateTime;
/**
* 消息接收 Response DTO
*
* @author 芋道源码
* @author ZT
*/
@Data
public class SmsReceiveRespDTO {

View File

@@ -5,7 +5,7 @@ import lombok.Data;
/**
* 短信发送 Response DTO
*
* @author 芋道源码
* @author ZT
*/
@Data
public class SmsSendRespDTO {

View File

@@ -6,7 +6,7 @@ import lombok.Data;
/**
* 短信模板 Response DTO
*
* @author 芋道源码
* @author ZT
*/
@Data
public class SmsTemplateRespDTO {

View File

@@ -26,7 +26,7 @@ import java.util.Objects;
*
* 考虑到省钱,我们使用钉钉 WebHook 模拟发送短信,方便调试。
*
* @author 芋道源码
* @author ZT
*/
public class DebugDingTalkSmsClient extends AbstractSmsClient {

View File

@@ -6,7 +6,7 @@ import lombok.Getter;
/**
* 短信模板的审核状态枚举
*
* @author 芋道源码
* @author ZT
*/
@AllArgsConstructor
@Getter

View File

@@ -12,7 +12,7 @@ import jakarta.annotation.Resource;
/**
* 针对 {@link MailSendMessage} 的消费者
*
* @author 芋道源码
* @author ZT
*/
@Component
@Slf4j

View File

@@ -8,7 +8,7 @@ import jakarta.validation.constraints.NotNull;
/**
* 邮箱发送消息
*
* @author 芋道源码
* @author ZT
*/
@Data
public class MailSendMessage {

View File

@@ -9,7 +9,7 @@ import java.util.List;
/**
* 短信发送消息
*
* @author 芋道源码
* @author ZT
*/
@Data
public class SmsSendMessage {

View File

@@ -9,7 +9,7 @@ import jakarta.validation.Valid;
*
* 提供用户的登录、登出的能力
*
* @author 芋道源码
* @author ZT
*/
public interface AdminAuthService {

View File

@@ -46,7 +46,7 @@ import static cn.iocoder.yudao.module.system.enums.ErrorCodeConstants.*;
/**
* Auth Service 实现类
*
* @author 芋道源码
* @author ZT
*/
@Service
@Slf4j

View File

@@ -11,7 +11,7 @@ import java.util.*;
/**
* 部门 Service 接口
*
* @author 芋道源码
* @author ZT
*/
public interface DeptService {

View File

@@ -33,7 +33,7 @@ import static cn.iocoder.yudao.module.system.enums.ErrorCodeConstants.*;
/**
* 部门 Service 实现类
*
* @author 芋道源码
* @author ZT
*/
@Service
@Validated

View File

@@ -12,7 +12,7 @@ import java.util.List;
/**
* 岗位 Service 接口
*
* @author 芋道源码
* @author ZT
*/
public interface PostService {

View File

@@ -25,7 +25,7 @@ import static cn.iocoder.yudao.module.system.enums.ErrorCodeConstants.*;
/**
* 岗位 Service 实现类
*
* @author 芋道源码
* @author ZT
*/
@Service
@Validated

View File

@@ -10,7 +10,7 @@ import java.util.List;
/**
* 字典类型 Service 接口
*
* @author 芋道源码
* @author ZT
*/
public interface DictTypeService {

View File

@@ -21,7 +21,7 @@ import static cn.iocoder.yudao.module.system.enums.ErrorCodeConstants.*;
/**
* 字典类型 Service 实现类
*
* @author 芋道源码
* @author ZT
*/
@Service
public class DictTypeServiceImpl implements DictTypeService {

View File

@@ -9,7 +9,7 @@ import cn.iocoder.yudao.module.system.dal.dataobject.logger.OperateLogDO;
/**
* 操作日志 Service 接口
*
* @author 芋道源码
* @author ZT
*/
public interface OperateLogService {

View File

@@ -15,7 +15,7 @@ import org.springframework.validation.annotation.Validated;
/**
* 操作日志 Service 实现类
*
* @author 芋道源码
* @author ZT
*/
@Service
@Validated

View File

@@ -3,7 +3,7 @@ package cn.iocoder.yudao.module.system.service.member;
/**
* Member Service 接口
*
* @author 芋道源码
* @author ZT
*/
public interface MemberService {

View File

@@ -9,7 +9,7 @@ import org.springframework.stereotype.Service;
/**
* Member Service 实现类
*
* @author 芋道源码
* @author ZT
*/
@Service
public class MemberServiceImpl implements MemberService {

View File

@@ -17,7 +17,7 @@ import static cn.iocoder.yudao.module.system.enums.ErrorCodeConstants.NOTICE_NOT
/**
* 通知公告 Service 实现类
*
* @author 芋道源码
* @author ZT
*/
@Service
public class NoticeServiceImpl implements NoticeService {

View File

@@ -11,7 +11,7 @@ import java.util.Map;
*
* 从功能上,和 Spring Security OAuth 的 ApprovalStoreUserApprovalHandler 的功能,记录用户针对指定客户端的授权,减少手动确定。
*
* @author 芋道源码
* @author ZT
*/
public interface OAuth2ApproveService {

View File

@@ -20,7 +20,7 @@ import static cn.iocoder.yudao.framework.common.util.collection.CollectionUtils.
/**
* OAuth2 批准 Service 实现类
*
* @author 芋道源码
* @author ZT
*/
@Service
@Validated

View File

@@ -13,7 +13,7 @@ import java.util.Collection;
*
* 从功能上,和 JdbcClientDetailsService 的功能,提供客户端的操作
*
* @author 芋道源码
* @author ZT
*/
public interface OAuth2ClientService {

View File

@@ -29,7 +29,7 @@ import static cn.iocoder.yudao.module.system.enums.ErrorCodeConstants.*;
/**
* OAuth2.0 Client Service 实现类
*
* @author 芋道源码
* @author ZT
*/
@Service
@Validated

View File

@@ -9,7 +9,7 @@ import java.util.List;
*
* 从功能上,和 Spring Security OAuth 的 JdbcAuthorizationCodeServices 的功能,提供授权码的操作
*
* @author 芋道源码
* @author ZT
*/
public interface OAuth2CodeService {

View File

@@ -18,7 +18,7 @@ import static cn.iocoder.yudao.module.system.enums.ErrorCodeConstants.OAUTH2_COD
/**
* OAuth2.0 授权码 Service 实现类
*
* @author 芋道源码
* @author ZT
*/
@Service
@Validated

View File

@@ -14,7 +14,7 @@ import java.util.List;
* 问题:为什么自身也作为一个第三方应用,也走这套流程呢?
* 回复:当然可以这么做,采用 password 模式。考虑到大多数开发者使用不到这个特性OAuth2.0 毕竟有一定学习成本,所以暂时没有采取这种方式。
*
* @author 芋道源码
* @author ZT
*/
public interface OAuth2GrantService {

View File

@@ -19,7 +19,7 @@ import static cn.iocoder.yudao.framework.common.exception.util.ServiceExceptionU
/**
* OAuth2 授予 Service 实现类
*
* @author 芋道源码
* @author ZT
*/
@Service
public class OAuth2GrantServiceImpl implements OAuth2GrantService {

View File

@@ -11,7 +11,7 @@ import java.util.List;
*
* 从功能上,和 Spring Security OAuth 的 DefaultTokenServices + JdbcTokenStore 的功能,提供访问令牌、刷新令牌的操作
*
* @author 芋道源码
* @author ZT
*/
public interface OAuth2TokenService {

View File

@@ -37,7 +37,7 @@ import static cn.iocoder.yudao.framework.common.util.collection.CollectionUtils.
/**
* OAuth2.0 Token Service 实现类
*
* @author 芋道源码
* @author ZT
*/
@Service
public class OAuth2TokenServiceImpl implements OAuth2TokenService {

View File

@@ -10,7 +10,7 @@ import java.util.List;
/**
* 菜单 Service 接口
*
* @author 芋道源码
* @author ZT
*/
public interface MenuService {

View File

@@ -33,7 +33,7 @@ import static cn.iocoder.yudao.module.system.enums.ErrorCodeConstants.*;
/**
* 菜单 Service 实现
*
* @author 芋道源码
* @author ZT
*/
@Service
@Slf4j

View File

@@ -12,7 +12,7 @@ import static java.util.Collections.singleton;
* <p>
* 提供用户-角色、角色-菜单、角色-部门的关联权限处理
*
* @author 芋道源码
* @author ZT
*/
public interface PermissionService {

View File

@@ -50,7 +50,7 @@ import static cn.iocoder.yudao.module.system.enums.ErrorCodeConstants.ROLE_CAN_N
/**
* 权限 Service 实现类
*
* @author 芋道源码
* @author ZT
*/
@Service
@Slf4j

View File

@@ -13,7 +13,7 @@ import java.util.Set;
/**
* 角色 Service 接口
*
* @author 芋道源码
* @author ZT
*/
public interface RoleService {

View File

@@ -46,7 +46,7 @@ import static cn.iocoder.yudao.module.system.enums.LogRecordConstants.*;
/**
* 角色 Service 实现类
*
* @author 芋道源码
* @author ZT
*/
@Service
@Slf4j

View File

@@ -10,7 +10,7 @@ import jakarta.validation.Valid;
/**
* 短信验证码 Service 接口
*
* @author 芋道源码
* @author ZT
*/
public interface SmsCodeService {

View File

@@ -24,7 +24,7 @@ import static cn.iocoder.yudao.module.system.enums.ErrorCodeConstants.*;
/**
* 短信验证码 Service 实现类
*
* @author 芋道源码
* @author ZT
*/
@Service
@Validated

View File

@@ -8,7 +8,7 @@ import java.util.Map;
/**
* 短信发送 Service 接口
*
* @author 芋道源码
* @author ZT
*/
public interface SmsSendService {

View File

@@ -33,7 +33,7 @@ import static cn.iocoder.yudao.module.system.enums.ErrorCodeConstants.*;
/**
* 短信发送 Service 发送的实现
*
* @author 芋道源码
* @author ZT
*/
@Service
@Slf4j

View File

@@ -20,7 +20,7 @@ import java.util.List;
/**
* 社交应用 Service 接口
*
* @author 芋道源码
* @author ZT
*/
public interface SocialClientService {

View File

@@ -75,7 +75,7 @@ import static java.util.Collections.singletonList;
/**
* 社交应用 Service 实现类
*
* @author 芋道源码
* @author ZT
*/
@Service
@Slf4j

View File

@@ -14,7 +14,7 @@ import java.util.List;
/**
* 社交用户 Service 接口,例如说社交平台的授权登录
*
* @author 芋道源码
* @author ZT
*/
public interface SocialUserService {

View File

@@ -31,7 +31,7 @@ import static cn.iocoder.yudao.module.system.enums.ErrorCodeConstants.SOCIAL_USE
/**
* 社交用户 Service 实现类
*
* @author 芋道源码
* @author ZT
*/
@Service
@Validated

View File

@@ -7,7 +7,7 @@ import cn.iocoder.yudao.module.system.dal.dataobject.sync.SyncLogDO;
/**
* 同步接口日志 Service 接口
*
* @author 芋道源码
* @author ZT
*/
public interface SyncLogService {

View File

@@ -15,7 +15,7 @@ import java.time.LocalDateTime;
/**
* 同步接口日志 Service 实现类
*
* @author 芋道源码
* @author ZT
*/
@Service
@Validated

View File

@@ -11,7 +11,7 @@ import java.util.List;
/**
* 租户套餐 Service 接口
*
* @author 芋道源码
* @author ZT
*/
public interface TenantPackageService {

Some files were not shown because too many files have changed in this diff Show More