Explorar o código

feat:默认地区设置

wangshan %!s(int64=2) %!d(string=hai) anos
pai
achega
38aa7c3de8
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      service/service.go

+ 1 - 0
service/service.go

@@ -391,6 +391,7 @@ func memberSetMap(userId int64, orderData map[string]interface{}) (set map[strin
 			"i_wxpush": 1,
 		},
 		"o_entniche.i_areacount": common.IntAllDef((*filterMap)["areaCount"], -1),
+		"o_entniche.o_area":      map[string]interface{}{"北京": []string{}}, //默认北京
 	}
 	setEntUser = map[string]interface{}{
 		"i_member_status":    common.If(dataType == 1, level, -level),