|
@@ -88,6 +88,13 @@ func (this *ActivityCoAntroller) PreserveAndPublish() {
|
|
|
br.Msg = "内容不可为空"
|
|
|
return
|
|
|
}
|
|
|
+ //不限制人数的,强制改为全部客户可见
|
|
|
+ if req.LimitPeopleNum == 0 {
|
|
|
+ req.VisibleRange = 2
|
|
|
+ req.IsMakerShow = 0
|
|
|
+ req.Scale = ""
|
|
|
+ req.CustomerTypeIds = ""
|
|
|
+ }
|
|
|
activityId := req.ActivityId
|
|
|
labelType := req.LabelType
|
|
|
labelList := req.List
|
|
@@ -103,7 +110,7 @@ func (this *ActivityCoAntroller) PreserveAndPublish() {
|
|
|
industrialSubjectIdS := req.IndustrialSubjectIdS
|
|
|
body := req.Body
|
|
|
customerTypeIds := req.CustomerTypeIds
|
|
|
- //不限制人数的,强制改为全部客户可见
|
|
|
+
|
|
|
if req.VisibleRange != 1 {
|
|
|
req.VisibleRange = 2
|
|
|
}
|