|
|
@@ -10,7 +10,6 @@ import (
|
|
|
"mtp2_if/services/tencent"
|
|
|
"mtp2_if/utils"
|
|
|
"net/http"
|
|
|
- "strconv"
|
|
|
|
|
|
"github.com/gin-gonic/gin"
|
|
|
)
|
|
|
@@ -246,12 +245,12 @@ func CreateFlowByTemplateDirectly(c *gin.Context) {
|
|
|
}
|
|
|
|
|
|
// 构建电子签平台合同模板名称
|
|
|
- // 格式:所属会员ID_类型标志_合同模板名称;例如 "1000_P_风险提示书",个人为P企业为A
|
|
|
+ // 格式:类型标志_合同模板名称;例如 "P_风险提示书",个人为P企业为E
|
|
|
flag := "P"
|
|
|
if req.UserType == 2 {
|
|
|
- flag = "A"
|
|
|
+ flag = "E"
|
|
|
}
|
|
|
- tmplateName := fmt.Sprintf("%s_%s_%s", strconv.Itoa(int(record.AREAUSERID)), flag, record.TEMPLATENAME)
|
|
|
+ tmplateName := fmt.Sprintf("%s_%s", flag, record.TEMPLATENAME)
|
|
|
|
|
|
personName := ""
|
|
|
personMobile := ""
|