Browse Source

no message

xingzai 3 years ago
parent
commit
a5ad3e1982
2 changed files with 2 additions and 2 deletions
  1. 1 1
      controllers/activity.go
  2. 1 1
      models/activity.go

+ 1 - 1
controllers/activity.go

@@ -3843,7 +3843,7 @@ func (this *ActivityCoAntroller) SpecialDetail() {
 			return
 		}
 		if count == 1 {
-			activityInfo.IsFollow = true
+			resp.IsFollow = true
 		}
 		activityInfo.ActivityTypeName = "专项调研"
 		resp.Detail = activityInfo

+ 1 - 1
models/activity.go

@@ -608,7 +608,6 @@ type CygxActivitySpecialDetail struct {
 	IndustrialSubjectName string `description:"标的名称(相关公司)"`
 	Scale                 string `description:"管理规模,空不填,1::50亿以下,2:50~100亿,3:100亿以上。多个用, 隔开"`
 	CustomerTypeIds       string `description:"活动可见的客户类型,多个ID用 , 隔开"`
-	IsFollow              bool   `description:"是否关注新调研通知"`
 }
 
 type GetCygxActivitySpecialDetailListResp struct {
@@ -625,6 +624,7 @@ type CygxActivitySpecialResp struct {
 	MsgType           string `description:"Type : 类型 , Industry : 行业"`
 	SellerMobile      string `description:"销售电话"`
 	SellerName        string `description:"销售姓名"`
+	IsFollow          bool   `description:"是否关注新调研通知"`
 	Detail            *CygxActivitySpecialDetail
 }