Browse Source

带问所属销售名称显示错误

xingzai 3 years ago
parent
commit
907b011b1c
2 changed files with 3 additions and 3 deletions
  1. 1 1
      controllers/activity.go
  2. 2 2
      services/activity.go

+ 1 - 1
controllers/activity.go

@@ -2136,7 +2136,7 @@ func (this *ActivityCoAntroller) AskAdd() {
 					return
 				}
 				if sellerItem != nil {
-					services.SendActivityAskApplyTemplateMsg(user.RealName+"——"+user.CompanyName+"(所属销售:"+sellerItem.RoleName+")", time.Now().Format(utils.FormatDateTime), req.Content, activityInfo.ActivityName, openIpItem.OpenId, activityInfo.ActivityId)
+					services.SendActivityAskApplyTemplateMsg(user.RealName+"——"+user.CompanyName+"(所属销售:"+sellerItem.RealName+")", time.Now().Format(utils.FormatDateTime), req.Content, activityInfo.ActivityName, openIpItem.OpenId, activityInfo.ActivityId)
 				}
 			}
 		}

+ 2 - 2
services/activity.go

@@ -460,7 +460,7 @@ func SendEmailFileForAskMsgResearch(cont context.Context) (err error) {
 					return err
 				}
 				if sellerItem != nil {
-					SendActivityAskApplyTemplateMsg(user.RealName+"——"+user.CompanyName+"(所属销售:"+sellerItem.RoleName+")", time.Now().Format(utils.FormatDateTime), v2.Content, activityInfo.ActivityName, openIpItem.OpenId, activityInfo.ActivityId)
+					SendActivityAskApplyTemplateMsg(user.RealName+"——"+user.CompanyName+"(所属销售:"+sellerItem.RealName+")", time.Now().Format(utils.FormatDateTime), v2.Content, activityInfo.ActivityName, openIpItem.OpenId, activityInfo.ActivityId)
 				}
 			}
 		}
@@ -632,7 +632,7 @@ func SendEmailFileForAskMsg(cont context.Context) (err error) {
 					return err
 				}
 				if sellerItem != nil {
-					SendActivityAskApplyTemplateMsg(user.RealName+"——"+user.CompanyName+"(所属销售:"+sellerItem.RoleName+")", time.Now().Format(utils.FormatDateTime), v2.Content, activityInfo.ActivityName, openIpItem.OpenId, activityInfo.ActivityId)
+					SendActivityAskApplyTemplateMsg(user.RealName+"——"+user.CompanyName+"(所属销售:"+sellerItem.RealName+")", time.Now().Format(utils.FormatDateTime), v2.Content, activityInfo.ActivityName, openIpItem.OpenId, activityInfo.ActivityId)
 				}
 			}
 		}