|
@@ -1325,13 +1325,13 @@ func GetActivityDetailUserPower(user *models.WxUserItem, activityInfo *models.Ac
|
|
if (!activityInfo.IsResearchPoints && activityInfo.IsLimitPeople == 0) || activityInfo.YidongActivityId != "" { //易董的活动 或者(不扣点且不限制人数)走月卡日卡逻辑
|
|
if (!activityInfo.IsResearchPoints && activityInfo.IsLimitPeople == 0) || activityInfo.YidongActivityId != "" { //易董的活动 或者(不扣点且不限制人数)走月卡日卡逻辑
|
|
//用户是否持有有效卡片
|
|
//用户是否持有有效卡片
|
|
userCardTotal := GetCygxOrderUserCardTotal(user.Mobile)
|
|
userCardTotal := GetCygxOrderUserCardTotal(user.Mobile)
|
|
- if userCardTotal == 1 {
|
|
|
|
|
|
+ if userCardTotal > 0 {
|
|
havePower = true
|
|
havePower = true
|
|
return
|
|
return
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
activtyPayTotal := GetCygxOrderVirtualAssetdCountTotal(user.Mobile, activityId)
|
|
activtyPayTotal := GetCygxOrderVirtualAssetdCountTotal(user.Mobile, activityId)
|
|
- if activtyPayTotal == 1 {
|
|
|
|
|
|
+ if activtyPayTotal > 0 {
|
|
havePower = true
|
|
havePower = true
|
|
return
|
|
return
|
|
}
|
|
}
|