REQ-3581: fix bug

This commit is contained in:
yanglin 2025-03-04 18:59:23 +08:00
parent bf3c256e8a
commit 175c610b96
2 changed files with 2 additions and 4 deletions

View File

@ -5,5 +5,5 @@ package cn.axzo.nanopart.ess.api.enums;
* @author yanglin
*/
public enum SignUrlEndpoint {
PC, WEIXIN_APP, H5
PC, WEIXIN_APP
}

View File

@ -160,9 +160,7 @@ public class EssService {
else if (request.getEndpoint() == SignUrlEndpoint.WEIXIN_APP)
return essClient.createSignUrls(superAdmin, contract.getEssContractId(), request.getRecipientId(),
signPerson);
else if (request.getEndpoint() == SignUrlEndpoint.H5) {
return essClient.channelCreateFlowSignUrl(superAdmin, contract.getEssContractId(), signPerson);
} else
else
throw BizAssertions.fail("不支持的签署端点: {}", request.getEndpoint());
}