소스 검색

公共程序 老用户单个地区 调整

wangshan 3 년 전
부모
커밋
f9bd932833
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      src/jfw/modules/publicapply/src/subscribe/entity/entity.go

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

@@ -61,7 +61,8 @@ func (this *ParamInfo) SetAreaByOneProvince() (b bool) {
 		}
 		if len(areas) == 1 {
 			if db.Mgo.UpdateById("user", this.UserId, map[string]interface{}{"$set": map[string]interface{}{
-				"o_jy.o_area": areas, //设置地区
+				"o_jy.o_area":    areas, //设置地区
+				"o_jy.i_newfree": 1,     //老免费用户=>新订阅设置页面 20211122
 			}}) {
 				jy.ClearBigVipUserPower(this.UserId)
 			}