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