jianghan 4 months ago
parent
commit
6c861e3f34
1 changed files with 1 additions and 2 deletions
  1. 1 2
      src/front/group.go

+ 1 - 2
src/front/group.go

@@ -336,6 +336,7 @@ func syncJyData(source, tid, pid string) int {
 				info["isOptimization"] = qu.IntAll(tmp["is_push"])
 				info["ispanchong"] = 1
 				info["earliestDay"] = qu.IntAll(tmp["earliestDay"])
+				//util.MgoJy.Del(util.JYPushColl, bson.M{"id": info["id"], "isOptimization": info["isOptimization"]})
 				util.MgoJy.Save(util.JYPushColl, info)
 				util.Mgo.UpdateById(source, tmp["_id"], bson.M{"$set": bson.M{"sendflag": true}})
 
@@ -1119,8 +1120,6 @@ func (f *Front) GroupImportData() {
 			}
 			if qu.IntAll(update["v_baseinfo.multipackage"]) == 1 && isPush == 1 {
 				update["is_push"] = 1
-			} else {
-				update["is_push"] = 0
 			}
 			lastid = id