|
@@ -497,7 +497,7 @@ func (this *ActivityCoAntroller) Detail() {
|
|
|
}
|
|
|
activityInfo.SignupType = mapActivitySignup[activityId]
|
|
|
//判断是不是通过微信模版推送消息进来的
|
|
|
- if isSendWx == 1 && len(industrialList) > 0 {
|
|
|
+ if isSendWx == 0 && len(industrialList) > 0 {
|
|
|
industryUserFollowMap, err := services.GetIndustryUserFollowMap(user)
|
|
|
if err != nil {
|
|
|
br.Msg = "获取信息失败"
|
|
@@ -511,7 +511,6 @@ func (this *ActivityCoAntroller) Detail() {
|
|
|
}
|
|
|
activityInfo.IsShowFollowButton = true
|
|
|
}
|
|
|
- activityInfo.IsShowFollowButton = true
|
|
|
if activityInfo.ReportLink != "" {
|
|
|
artList, err := services.GetActivityReportLinkToArticleList(activityInfo)
|
|
|
if err != nil && err.Error() != utils.ErrNoRow() {
|