fadd
This commit is contained in:
@@ -65,10 +65,17 @@ func (r *CertificationRoutes) Register(router *http.GinRouter) {
|
||||
|
||||
// 3. 申请合同签署
|
||||
authGroup.POST("/apply-contract", r.handler.ApplyContract)
|
||||
// 刷新签署 iframe 长链(法大大 EmbedURL 短期有效)
|
||||
authGroup.POST("/refresh-contract-sign-url", r.handler.RefreshContractSignURL)
|
||||
authGroup.POST("/refresh-contract-preview-url", r.handler.RefreshContractPreviewURL)
|
||||
|
||||
// 前端确认是否完成认证
|
||||
authGroup.POST("/confirm-auth", r.handler.ConfirmAuth)
|
||||
|
||||
// 签署平台选择(审核通过后、企业认证前)
|
||||
authGroup.GET("/sign-platforms", r.handler.ListSignPlatforms)
|
||||
authGroup.POST("/select-sign-platform", r.handler.SelectSignPlatform)
|
||||
|
||||
// 前端确认是否完成签署
|
||||
authGroup.POST("/confirm-sign", r.handler.ConfirmSign)
|
||||
|
||||
@@ -95,7 +102,8 @@ func (r *CertificationRoutes) Register(router *http.GinRouter) {
|
||||
// 回调路由(不需要认证,但需要验证签名)
|
||||
callbackGroup := certificationGroup.Group("/callbacks")
|
||||
{
|
||||
callbackGroup.POST("/esign", r.handler.HandleEsignCallback) // e签宝回调(统一处理企业认证和合同签署回调)
|
||||
callbackGroup.POST("/esign", r.handler.HandleEsignCallback) // e签宝回调
|
||||
callbackGroup.POST("/fadada", r.handler.HandleFadadaCallback) // 法大大回调
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user