✨ 全局:简化 file 组件,融合到 infra 模块
This commit is contained in:
parent
746133226f
commit
2dc7376ec6
yudao-module-infra/yudao-module-infra-biz/src
main
test/java/cn/iocoder/yudao/module/infra/framework/file/core/s3
@ -67,7 +67,7 @@ public class FileConfigDO extends BaseDO {
|
||||
|
||||
@Override
|
||||
protected Object parse(String json) {
|
||||
FileClientConfig config = JsonUtils.parseObjectQuietly(json, new TypeReference<>() {});
|
||||
FileClientConfig config = JsonUtils.parseObjectQuietly(json, new TypeReference<FileClientConfig>() {});
|
||||
if (config != null) {
|
||||
return config;
|
||||
}
|
||||
|
Binary file not shown.
Before ![]() (image error) Size: 0 B After ![]() (image error) Size: 18 KiB ![]() ![]() |
@ -5,10 +5,11 @@ import cn.hutool.core.util.IdUtil;
|
||||
import cn.iocoder.yudao.framework.common.util.validation.ValidationUtils;
|
||||
import cn.iocoder.yudao.module.infra.framework.file.core.client.s3.S3FileClient;
|
||||
import cn.iocoder.yudao.module.infra.framework.file.core.client.s3.S3FileClientConfig;
|
||||
import jakarta.validation.Validation;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import javax.validation.Validation;
|
||||
|
||||
public class S3FileClientTest {
|
||||
|
||||
@Test
|
||||
|
Loading…
Reference in New Issue
Block a user