|
@@ -24,9 +24,16 @@ func (this *PushSetService) Update(item, setType, pushType string, ratemode, pus
|
|
set := map[string]interface{}{}
|
|
set := map[string]interface{}{}
|
|
switch setType {
|
|
switch setType {
|
|
case "pushRoute":
|
|
case "pushRoute":
|
|
- set = map[string]interface{}{
|
|
|
|
- fmt.Sprintf("o_pushset.%s.%s", item, pushType): common.IntAll(pushValue),
|
|
|
|
|
|
+ if pushType == "i_nomsgtip" {
|
|
|
|
+ set = map[string]interface{}{
|
|
|
|
+ fmt.Sprintf("o_pushset.%s", pushType): common.IntAll(pushValue),
|
|
|
|
+ }
|
|
|
|
+ } else {
|
|
|
|
+ set = map[string]interface{}{
|
|
|
|
+ fmt.Sprintf("o_pushset.%s.%s", item, pushType): common.IntAll(pushValue),
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
+
|
|
break
|
|
break
|
|
case "a_times":
|
|
case "a_times":
|
|
if ratemode == 2 {
|
|
if ratemode == 2 {
|
|
@@ -123,6 +130,7 @@ func (this *PushSetService) Find() map[string]*bxsubscribe.PushSet {
|
|
if fool {
|
|
if fool {
|
|
pushSet["o_follow_ent"] = o_follow_ent
|
|
pushSet["o_follow_ent"] = o_follow_ent
|
|
}
|
|
}
|
|
|
|
+ pushSet["i_nomsgtip"] = common.Int64All(common.If(o_pushset["i_nomsgtip"] == nil, 1, o_pushset["i_nomsgtip"]))
|
|
return pushSet
|
|
return pushSet
|
|
}
|
|
}
|
|
func pushSetMontage(in interface{}, name string, powerData *pb.CheckResp, ShowWx bool) (bool, *bxsubscribe.PushSet) {
|
|
func pushSetMontage(in interface{}, name string, powerData *pb.CheckResp, ShowWx bool) (bool, *bxsubscribe.PushSet) {
|