|
@@ -556,7 +556,10 @@ func (this *UserController) ApplyTryOut() {
|
|
|
// utils.FileLog.Info("推送消息 %s %s,%s,%s,%s", req.RealName, req.CompanyName, mobile, openIpItem.OpenId, applyMethod)
|
|
|
// go services.SendPermissionApplyTemplateMsg(req.RealName, req.CompanyName, mobile, applyMethod, openIpItem)
|
|
|
//}
|
|
|
- go services.SendPermissionApplyTemplateMsgAdmin(req, mobile, applyMethod, isResearch)
|
|
|
+ //如果对应销售不存在就给王芳,汪洋推模版消息
|
|
|
+ if sellerItem == nil {
|
|
|
+ go services.SendPermissionApplyTemplateMsgAdmin(req, mobile, applyMethod, isResearch)
|
|
|
+ }
|
|
|
|
|
|
err = models.AddApplyRecord(&req, user.Mobile, user.CompanyName, uid, user.CompanyId, CompanyIdType)
|
|
|
if err != nil {
|