修改代码

This commit is contained in:
chy
2026-02-09 11:19:24 +08:00
parent 16a985e8cc
commit c1a3e0f709
6 changed files with 8 additions and 7 deletions

View File

@@ -46,6 +46,7 @@ public class OAuth2ClientSaveReqVO {
@NotNull(message = "访问令牌的有效期不能为空") @NotNull(message = "访问令牌的有效期不能为空")
private Integer accessTokenValiditySeconds; private Integer accessTokenValiditySeconds;
@Schema(description = "刷新令牌的有效期", requiredMode = Schema.RequiredMode.REQUIRED, example = "8640000") @Schema(description = "刷新令牌的有效期", requiredMode = Schema.RequiredMode.REQUIRED, example = "8640000")
@NotNull(message = "刷新令牌的有效期不能为空") @NotNull(message = "刷新令牌的有效期不能为空")
private Integer refreshTokenValiditySeconds; private Integer refreshTokenValiditySeconds;

View File

@@ -12,8 +12,8 @@ import lombok.Getter;
@AllArgsConstructor @AllArgsConstructor
public enum DocumentEnum { public enum DocumentEnum {
REDIS_INSTALL("https://gitee.com/zhijiantianya/ruoyi-vue-pro/issues/I4VCSJ", "Redis 安装文档"), REDIS_INSTALL("#", "Redis 安装文档"),
TENANT("https://doc.iocoder.cn", "SaaS 多租户文档"); TENANT("#", "SaaS 多租户文档");
private final String url; private final String url;
private final String memo; private final String memo;

View File

@@ -23,7 +23,7 @@ public class S3FileClientConfig implements FileClientConfig {
/** /**
* 节点地址 * 节点地址
* 1. MinIOhttps://www.iocoder.cn/Spring-Boot/MinIO 。例如说http://127.0.0.1:9000 * 1. MinIOhttps://www.lidee.cn/Spring-Boot/MinIO 。例如说http://127.0.0.1:9000
* 2. 阿里云https://help.aliyun.com/document_detail/31837.html * 2. 阿里云https://help.aliyun.com/document_detail/31837.html
* 3. 腾讯云https://cloud.tencent.com/document/product/436/6224 * 3. 腾讯云https://cloud.tencent.com/document/product/436/6224
* 4. 七牛云https://developer.qiniu.com/kodo/4088/s3-access-domainname * 4. 七牛云https://developer.qiniu.com/kodo/4088/s3-access-domainname
@@ -49,7 +49,7 @@ public class S3FileClientConfig implements FileClientConfig {
/** /**
* 访问 Key * 访问 Key
* 1. MinIOhttps://www.iocoder.cn/Spring-Boot/MinIO * 1. MinIOhttps://www.lidee.cn/Spring-Boot/MinIO
* 2. 阿里云https://ram.console.aliyun.com/manage/ak * 2. 阿里云https://ram.console.aliyun.com/manage/ak
* 3. 腾讯云https://console.cloud.tencent.com/cam/capi * 3. 腾讯云https://console.cloud.tencent.com/cam/capi
* 4. 七牛云https://portal.qiniu.com/user/key * 4. 七牛云https://portal.qiniu.com/user/key

View File

@@ -20,7 +20,7 @@ public class QuartzAutoConfiguration {
@Bean @Bean
public SchedulerManager schedulerManager(Optional<Scheduler> scheduler) { public SchedulerManager schedulerManager(Optional<Scheduler> scheduler) {
if (!scheduler.isPresent()) { if (!scheduler.isPresent()) {
log.info("[定时任务 - 已禁用][参考 https://doc.iocoder.cn/job/ 开启]");
return new SchedulerManager(null); return new SchedulerManager(null);
} }
return new SchedulerManager(scheduler.get()); return new SchedulerManager(scheduler.get());

View File

@@ -139,7 +139,7 @@ public class SchedulerManager {
private void validateScheduler() { private void validateScheduler() {
if (scheduler == null) { if (scheduler == null) {
throw exception0(NOT_IMPLEMENTED.getCode(), throw exception0(NOT_IMPLEMENTED.getCode(),
"[定时任务 - 已禁用][参考 https://doc.iocoder.cn/job/ 开启]"); "[定时任务 - 已禁用]");
} }
} }

View File

@@ -104,7 +104,7 @@ public class RandomUtils {
} }
public static String randomURL() { public static String randomURL() {
return "https://www.iocoder.cn/" + randomString(); return "https://www.lidee.cn/" + randomString();
} }
@SafeVarargs @SafeVarargs