REQ-3581: 备份

This commit is contained in:
yanglin 2025-02-14 10:44:30 +08:00
parent 37184c7c39
commit 26fce20bcc

View File

@ -13,6 +13,7 @@ import cn.axzo.nanopart.ess.server.entity.EssOrg;
import cn.axzo.nanopart.ess.server.entity.EssPerson; import cn.axzo.nanopart.ess.server.entity.EssPerson;
import cn.axzo.nanopart.ess.server.entity.EssSeal; import cn.axzo.nanopart.ess.server.entity.EssSeal;
import cn.axzo.nanopart.ess.server.entity.EssSealPerson; import cn.axzo.nanopart.ess.server.entity.EssSealPerson;
import cn.axzo.nanopart.ess.server.ess.EssClient.Func.FuncBuilder;
import cn.axzo.nanopart.ess.server.ess.domain.OuOpenId; import cn.axzo.nanopart.ess.server.ess.domain.OuOpenId;
import cn.axzo.nanopart.ess.server.ess.domain.PersonOpenId; import cn.axzo.nanopart.ess.server.ess.domain.PersonOpenId;
import cn.axzo.nanopart.ess.server.ess.support.EssProps; import cn.axzo.nanopart.ess.server.ess.support.EssProps;
@ -339,7 +340,7 @@ public class EssClient implements InitializingBean {
return new EssbasicClient(cred, "", clientProfile); return new EssbasicClient(cred, "", clientProfile);
} }
private <T> T exec(Func.FuncBuilder<?> builder) { private <T> T exec(FuncBuilder<?> builder) {
try { try {
return call(builder); return call(builder);
} catch (TencentCloudSDKException e) { } catch (TencentCloudSDKException e) {
@ -347,7 +348,7 @@ public class EssClient implements InitializingBean {
} }
} }
private <T> T call(Func.FuncBuilder<?> builder) throws TencentCloudSDKException { private <T> T call(FuncBuilder<?> builder) throws TencentCloudSDKException {
//noinspection unchecked //noinspection unchecked
Func<Object> func = (Func<Object>) builder.build(); Func<Object> func = (Func<Object>) builder.build();
EssLog essLog = new EssLog(); EssLog essLog = new EssLog();
@ -418,7 +419,7 @@ public class EssClient implements InitializingBean {
final Object request; final Object request;
final TencentCloudFunc<T> command; final TencentCloudFunc<T> command;
public static <T> Func.FuncBuilder<T> func() { public static <T> FuncBuilder<T> func() {
return Func.builder(); return Func.builder();
} }