|
@@ -644,7 +644,7 @@ func (this *UserController) ApplyTryOut() {
|
|
applyMethod = companyItem.Status + "客户"
|
|
applyMethod = companyItem.Status + "客户"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- applyMethod = applyMethod + "," + title
|
|
|
|
|
|
+ //applyMethod = applyMethod + "," + title
|
|
}
|
|
}
|
|
openIpItem, _ := models.GetUserRecordByMobile(4, sellerItem.Mobile)
|
|
openIpItem, _ := models.GetUserRecordByMobile(4, sellerItem.Mobile)
|
|
if openIpItem != nil && openIpItem.OpenId != "" {
|
|
if openIpItem != nil && openIpItem.OpenId != "" {
|
|
@@ -652,7 +652,6 @@ func (this *UserController) ApplyTryOut() {
|
|
req.RealName = user.RealName
|
|
req.RealName = user.RealName
|
|
req.CompanyName = user.CompanyName
|
|
req.CompanyName = user.CompanyName
|
|
}
|
|
}
|
|
- //go services.SendPermissionApplyTemplateMsg(req.RealName, req.CompanyName, mobile, applyMethod, openIpItem)
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
@@ -672,9 +671,9 @@ func (this *UserController) ApplyTryOut() {
|
|
applyMethod = "潜在客户"
|
|
applyMethod = "潜在客户"
|
|
categoryApplyMethod = "潜在客户"
|
|
categoryApplyMethod = "潜在客户"
|
|
}
|
|
}
|
|
- if detailId > 0 {
|
|
|
|
- applyMethod = applyMethod + "," + title
|
|
|
|
- }
|
|
|
|
|
|
+ //if detailId > 0 {
|
|
|
|
+ // applyMethod = applyMethod + "," + title
|
|
|
|
+ //}
|
|
}
|
|
}
|
|
if categoryApplyMethod == "" {
|
|
if categoryApplyMethod == "" {
|
|
categoryApplyMethod = applyMethod
|
|
categoryApplyMethod = applyMethod
|
|
@@ -706,9 +705,10 @@ func (this *UserController) ApplyTryOut() {
|
|
br.ErrMsg = "申请失败,Err:" + err.Error()
|
|
br.ErrMsg = "申请失败,Err:" + err.Error()
|
|
return
|
|
return
|
|
}
|
|
}
|
|
|
|
+ fmt.Println(isResearch)
|
|
if isResearch {
|
|
if isResearch {
|
|
//如果是研选的报告走研选的类目模版消息
|
|
//如果是研选的报告走研选的类目模版消息
|
|
- go services.SendPermissionApplyTemplateMsgAdminByYxCategory(req, user.CompanyId, mobile, applyMethod, redirectUrlYx)
|
|
|
|
|
|
+ go services.SendPermissionApplyTemplateMsgAdminByYxCategory(req, user.CompanyId, mobile, categoryApplyMethod, redirectUrlYx)
|
|
}
|
|
}
|
|
if detailId > 0 {
|
|
if detailId > 0 {
|
|
applyMethod = applyMethod + "," + title
|
|
applyMethod = applyMethod + "," + title
|