|
@@ -447,8 +447,7 @@ func memberSetMap(userId, waitEmpowerId int64, orderData map[string]interface{})
|
|
areaCount = common.IntAllDef((*filterMap)["finalAreaCount"], -1)
|
|
areaCount = common.IntAllDef((*filterMap)["finalAreaCount"], -1)
|
|
area = common.If(areaCount > 0, map[string]interface{}{"北京": []string{}}, map[string]interface{}{}).(map[string]interface{})
|
|
area = common.If(areaCount > 0, map[string]interface{}{"北京": []string{}}, map[string]interface{}{}).(map[string]interface{})
|
|
)
|
|
)
|
|
-
|
|
|
|
- areaCount = common.IntAllDef((*filterMap)["areaCount"], -1)
|
|
|
|
|
|
+ //areaCount = common.IntAllDef((*filterMap)["finalAreaCount"], -1)
|
|
set = map[string]interface{}{
|
|
set = map[string]interface{}{
|
|
"i_type": 1,
|
|
"i_type": 1,
|
|
"o_member_jy": map[string]interface{}{
|
|
"o_member_jy": map[string]interface{}{
|
|
@@ -457,6 +456,7 @@ func memberSetMap(userId, waitEmpowerId int64, orderData map[string]interface{})
|
|
"o_entniche.i_areacount": areaCount,
|
|
"o_entniche.i_areacount": areaCount,
|
|
"o_entniche.o_area": area, //默认北京
|
|
"o_entniche.o_area": area, //默认北京
|
|
}
|
|
}
|
|
|
|
+ log.Println("权益分配参数set:", set)
|
|
setEntUser = map[string]interface{}{
|
|
setEntUser = map[string]interface{}{
|
|
"i_member_status": common.If(dataType == 1, level, -level),
|
|
"i_member_status": common.If(dataType == 1, level, -level),
|
|
"i_member_starttime": startdate.Unix(),
|
|
"i_member_starttime": startdate.Unix(),
|