|
@@ -628,12 +628,14 @@ func (this *UserController) ApplyTryOut() {
|
|
|
return
|
|
|
}
|
|
|
|
|
|
- go services.SendPermissionApplyTemplateMsg(req.RealName, req.CompanyName, mobile, applyMethod, redirectUrl, user) //权限申请模板消息推送
|
|
|
if isResearch {
|
|
|
//如果是研选的报告走研选的类目模版消息
|
|
|
go services.SendPermissionApplyTemplateMsgAdminByYxCategory(req, user.CompanyId, mobile, applyMethod, redirectUrl)
|
|
|
}
|
|
|
-
|
|
|
+ if detailId > 0 {
|
|
|
+ applyMethod = applyMethod + "," + title
|
|
|
+ }
|
|
|
+ go services.SendPermissionApplyTemplateMsg(req.RealName, req.CompanyName, mobile, applyMethod, redirectUrl, user) //权限申请模板消息推送
|
|
|
//添加成功后,设置5分钟缓存,不允许重复添加
|
|
|
//utils.Rc.SetNX(cacheKey, user.Mobile, time.Second*60)
|
|
|
|