|
@@ -31,6 +31,42 @@ func CreateConsoleLoginUrl(c *gin.Context) {
|
|
|
appG.Response(http.StatusOK, e.SUCCESS, *response.Response.ConsoleUrl)
|
|
appG.Response(http.StatusOK, e.SUCCESS, *response.Response.ConsoleUrl)
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+// DescribeIntegrationEmployees 查询企业员工信息列表
|
|
|
|
|
+// @Summary 查询企业员工信息列表
|
|
|
|
|
+// @Produce json
|
|
|
|
|
+// @Security ApiKeyAuth
|
|
|
|
|
+// @accept application/json
|
|
|
|
|
+// @Success 200 {object} app.Response
|
|
|
|
|
+// @Failure 500 {object} app.Response
|
|
|
|
|
+// @Router /Tencent/DescribeIntegrationEmployees [post]
|
|
|
|
|
+// @Tags 腾讯电子签
|
|
|
|
|
+func DescribeIntegrationEmployees(c *gin.Context) {
|
|
|
|
|
+ appG := app.Gin{C: c}
|
|
|
|
|
+
|
|
|
|
|
+ agent := utils.SetAgent(nil, nil, nil)
|
|
|
|
|
+ response, _ := tencent.DescribeIntegrationEmployees(agent)
|
|
|
|
|
+
|
|
|
|
|
+ appG.Response(http.StatusOK, e.SUCCESS, response.Response.Employees)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+// SyncProxyOrganizationOperators 企业员工离职
|
|
|
|
|
+// @Summary 企业员工离职
|
|
|
|
|
+// @Produce json
|
|
|
|
|
+// @Security ApiKeyAuth
|
|
|
|
|
+// @accept application/json
|
|
|
|
|
+// @Success 200 {object} app.Response
|
|
|
|
|
+// @Failure 500 {object} app.Response
|
|
|
|
|
+// @Router /Tencent/SyncProxyOrganizationOperators [post]
|
|
|
|
|
+// @Tags 腾讯电子签
|
|
|
|
|
+func SyncProxyOrganizationOperators(c *gin.Context) {
|
|
|
|
|
+ appG := app.Gin{C: c}
|
|
|
|
|
+
|
|
|
|
|
+ agent := utils.SetAgent(nil, nil, nil)
|
|
|
|
|
+ response, _ := tencent.SyncProxyOrganizationOperators(agent)
|
|
|
|
|
+
|
|
|
|
|
+ appG.Response(http.StatusOK, e.SUCCESS, response.Response)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
type GetTemplateInfoReq struct {
|
|
type GetTemplateInfoReq struct {
|
|
|
ContractName string `form:"contractName" binding:"required"` // 合同模块名称
|
|
ContractName string `form:"contractName" binding:"required"` // 合同模块名称
|
|
|
}
|
|
}
|