|
|
@@ -26,18 +26,19 @@ type QueryUsereSignRecordsReq struct {
|
|
|
}
|
|
|
|
|
|
// QueryUsereSignRecords 查询用户电子签记录表
|
|
|
-// @Summary 查询用户电子签记录表
|
|
|
-// @Produce json
|
|
|
-// @accept application/json
|
|
|
-// @Param userId query int true "用户ID"
|
|
|
-// @Param memberUserId query int true "所属会员ID"
|
|
|
-// @Param recordId query int false "记录ID"
|
|
|
-// @Param templateConfigId query int false "模板配置ID"
|
|
|
-// @Param templatetype query int false "模板类型 - 1:实名认证 2:开户协议 3:日结算单 4:交易协议"
|
|
|
-// @Success 200 {array} models.Useresignrecord
|
|
|
-// @Failure 500 {object} app.Response
|
|
|
-// @Router /Tencent/QueryUsereSignRecords [get]
|
|
|
-// @Tags 腾讯电子签
|
|
|
+// @Summary 查询用户电子签记录表
|
|
|
+// @Produce json
|
|
|
+// @Security ApiKeyAuth
|
|
|
+// @accept application/json
|
|
|
+// @Param userId query int true "用户ID"
|
|
|
+// @Param memberUserId query int true "所属会员ID"
|
|
|
+// @Param recordId query int false "记录ID"
|
|
|
+// @Param templateConfigId query int false "模板配置ID"
|
|
|
+// @Param templatetype query int false "模板类型 - 1:实名认证 2:开户协议 3:日结算单 4:交易协议"
|
|
|
+// @Success 200 {array} models.Useresignrecord
|
|
|
+// @Failure 500 {object} app.Response
|
|
|
+// @Router /Tencent/QueryUsereSignRecords [get]
|
|
|
+// @Tags 腾讯电子签
|
|
|
func QueryUsereSignRecords(c *gin.Context) {
|
|
|
appG := app.Gin{C: c}
|
|
|
|
|
|
@@ -58,12 +59,12 @@ func QueryUsereSignRecords(c *gin.Context) {
|
|
|
|
|
|
// QianNotice 腾讯电子签回调接口
|
|
|
// @Summary 腾讯电子签回调接口
|
|
|
-// @Produce json
|
|
|
-// @accept application/json
|
|
|
-// @Success 200 {object} app.Response
|
|
|
-// @Failure 500 {object} app.Response
|
|
|
+// @Produce json
|
|
|
+// @accept application/json
|
|
|
+// @Success 200 {object} app.Response
|
|
|
+// @Failure 500 {object} app.Response
|
|
|
// @Router /Tencent/QianNotice [post]
|
|
|
-// @Tags 腾讯电子签
|
|
|
+// @Tags 腾讯电子签
|
|
|
func QianNotice(c *gin.Context) {
|
|
|
appG := app.Gin{C: c}
|
|
|
|
|
|
@@ -94,13 +95,14 @@ func QianNotice(c *gin.Context) {
|
|
|
}
|
|
|
|
|
|
// CreateConsoleLoginUrl 创建电子签控制台登录链接
|
|
|
-// @Summary 创建电子签控制台登录链接
|
|
|
-// @Produce json
|
|
|
-// @accept application/json
|
|
|
+// @Summary 创建电子签控制台登录链接
|
|
|
+// @Produce json
|
|
|
+// @Security ApiKeyAuth
|
|
|
+// @accept application/json
|
|
|
// @Success 200 {object} app.Response
|
|
|
-// @Failure 500 {object} app.Response
|
|
|
-// @Router /Tencent/CreateConsoleLoginUrl [post]
|
|
|
-// @Tags 腾讯电子签
|
|
|
+// @Failure 500 {object} app.Response
|
|
|
+// @Router /Tencent/CreateConsoleLoginUrl [post]
|
|
|
+// @Tags 腾讯电子签
|
|
|
func CreateConsoleLoginUrl(c *gin.Context) {
|
|
|
appG := app.Gin{C: c}
|
|
|
|
|
|
@@ -117,13 +119,14 @@ type InitTencentESSReq struct {
|
|
|
}
|
|
|
|
|
|
// InitTencentESS 按用户ID和机构ID创建腾讯电子签业务信息
|
|
|
-// @Summary 按用户ID和机构ID创建腾讯电子签业务信息
|
|
|
-// @Produce json
|
|
|
-// @accept application/json
|
|
|
-// @Param data body InitTencentESSReq true "入参"
|
|
|
-// @Failure 500 {object} app.Response
|
|
|
-// @Router /Tencent/InitTencentESS [post]
|
|
|
-// @Tags 腾讯电子签
|
|
|
+// @Summary 按用户ID和机构ID创建腾讯电子签业务信息
|
|
|
+// @Produce json
|
|
|
+// @Security ApiKeyAuth
|
|
|
+// @accept application/json
|
|
|
+// @Param data body InitTencentESSReq true "入参"
|
|
|
+// @Failure 500 {object} app.Response
|
|
|
+// @Router /Tencent/InitTencentESS [post]
|
|
|
+// @Tags 腾讯电子签
|
|
|
func InitTencentESS(c *gin.Context) {
|
|
|
appG := app.Gin{C: c}
|
|
|
|
|
|
@@ -169,14 +172,15 @@ type CreateFlowByTemplateDirectlyRsp struct {
|
|
|
}
|
|
|
|
|
|
// CreateFlowByTemplateDirectly 通过合同模板名称直接发起签署流程
|
|
|
-// @Summary 通过合同模板名称直接发起签署流程
|
|
|
-// @accept application/json
|
|
|
-// @Produce application/json
|
|
|
-// @Param data body CreateFlowByTemplateDirectlyReq true "入参"
|
|
|
-// @Success 200 {object} app.Response{Data=CreateFlowByTemplateDirectlyRsp} "出参"
|
|
|
+// @Summary 通过合同模板名称直接发起签署流程
|
|
|
+// @Security ApiKeyAuth
|
|
|
+// @accept application/json
|
|
|
+// @Produce application/json
|
|
|
+// @Param data body CreateFlowByTemplateDirectlyReq true "入参"
|
|
|
+// @Success 200 {object} app.Response{Data=CreateFlowByTemplateDirectlyRsp} "出参"
|
|
|
// @Failure 500 {object} app.Response
|
|
|
-// @Router /Tencent/CreateFlowByTemplateDirectly [post]
|
|
|
-// @Tags 腾讯电子签
|
|
|
+// @Router /Tencent/CreateFlowByTemplateDirectly [post]
|
|
|
+// @Tags 腾讯电子签
|
|
|
func CreateFlowByTemplateDirectly(c *gin.Context) {
|
|
|
appG := app.Gin{C: c}
|
|
|
|
|
|
@@ -257,13 +261,14 @@ type GetFlowStatusReq struct {
|
|
|
}
|
|
|
|
|
|
// GetFlowStatus 获取合同状态
|
|
|
-// @Summary 获取合同状态
|
|
|
+// @Summary 获取合同状态
|
|
|
// @Produce json
|
|
|
+// @Security ApiKeyAuth
|
|
|
// @accept application/json
|
|
|
-// @Param contractno query string true "合同编号"
|
|
|
-// @Success 200 {object} int "记录状态 - 1:未签署 2:签署中 3:已签署 4:签署拒绝"
|
|
|
-// @Failure 500 {object} app.Response
|
|
|
-// @Router /Tencent/GetFlowStatus [get]
|
|
|
+// @Param contractno query string true "合同编号"
|
|
|
+// @Success 200 {object} int "记录状态 - 1:未签署 2:签署中 3:已签署 4:签署拒绝"
|
|
|
+// @Failure 500 {object} app.Response
|
|
|
+// @Router /Tencent/GetFlowStatus [get]
|
|
|
// @Tags 腾讯电子签
|
|
|
func GetFlowStatus(c *gin.Context) {
|
|
|
appG := app.Gin{C: c}
|