wangshan 3 年之前
父節點
當前提交
d53cdf0d8d
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/jfw/modules/publicapply/src/subscribePush/entity/setting.go

+ 2 - 1
src/jfw/modules/publicapply/src/subscribePush/entity/setting.go

@@ -73,7 +73,8 @@ func FreeSubChange(userId string, area *map[string]interface{}, industry []strin
 	}}
 	if ppb {
 		setMap = map[string]interface{}{"$set": map[string]interface{}{
-			"o_jy.o_area_p": area, //设置地区
+			"o_jy.o_area_p":  area, //设置地区
+			"o_jy.i_newfree": 1,    //老免费用户=>新订阅设置页面 20211122
 		}}
 	}
 	updateOk := db.Mgo.UpdateById("user", userId, setMap)