fadd
This commit is contained in:
@@ -20,6 +20,14 @@ type CertificationApplicationService interface {
|
||||
ConfirmSign(ctx context.Context, cmd *queries.ConfirmSignCommand) (*responses.ConfirmSignResponse, error)
|
||||
// 申请合同签署
|
||||
ApplyContract(ctx context.Context, cmd *commands.ApplyContractCommand) (*responses.ContractSignUrlResponse, error)
|
||||
// RefreshContractSignURL 重新获取签署 iframe 长链(法大大 EmbedURL 约 10 分钟/单次有效)
|
||||
RefreshContractSignURL(ctx context.Context, userID string) (*responses.ContractSignUrlResponse, error)
|
||||
// RefreshContractPreviewURL 获取签署任务预览链接(法大大 get-preview-url)
|
||||
RefreshContractPreviewURL(ctx context.Context, userID string) (*responses.ContractPreviewUrlResponse, error)
|
||||
// ListSignPlatforms 可选签署平台列表
|
||||
ListSignPlatforms(ctx context.Context) (*responses.SignPlatformsResponse, error)
|
||||
// SelectSignPlatform 选择签署平台并生成企业认证链接
|
||||
SelectSignPlatform(ctx context.Context, cmd *commands.SelectSignPlatformCommand) (*responses.CertificationResponse, error)
|
||||
|
||||
// OCR营业执照识别
|
||||
RecognizeBusinessLicense(ctx context.Context, imageBytes []byte) (*responses.BusinessLicenseResult, error)
|
||||
@@ -48,8 +56,10 @@ type CertificationApplicationService interface {
|
||||
// AdminTransitionCertificationStatus 管理端按用户变更认证状态(以状态机为准:info_submitted=通过 / info_rejected=拒绝)
|
||||
AdminTransitionCertificationStatus(ctx context.Context, cmd *commands.AdminTransitionCertificationStatusCommand) error
|
||||
|
||||
// ================ e签宝回调处理 ================
|
||||
// ================ 第三方回调处理 ================
|
||||
|
||||
// 处理e签宝回调
|
||||
HandleEsignCallback(ctx context.Context, cmd *commands.EsignCallbackCommand) error
|
||||
// 处理法大大回调
|
||||
HandleFadadaCallback(ctx context.Context, headers map[string]string, body []byte) error
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user