修改代码
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ public class S3FileClientConfig implements FileClientConfig {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 节点地址
|
* 节点地址
|
||||||
* 1. MinIO:https://www.iocoder.cn/Spring-Boot/MinIO 。例如说,http://127.0.0.1:9000
|
* 1. MinIO:https://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. MinIO:https://www.iocoder.cn/Spring-Boot/MinIO
|
* 1. MinIO:https://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
|
||||||
|
|||||||
@@ -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());
|
||||||
|
|||||||
@@ -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/ 开启]");
|
"[定时任务 - 已禁用]");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user