@@ -559,6 +559,13 @@ func GetYanxuanSpecialDetailUserPower(user *models.WxUserItem) (havePower bool,
return
}
+ //用户是否持有有效卡片
+ userCardTotal := GetCygxOrderUserCardTotal(user.Mobile)
+ if userCardTotal == 1 {
+ havePower = true
+ return
+ }
+
//是否是权益客户
raiCount, e := models.GetCompanyProductCount(companyId, utils.COMPANY_PRODUCT_RAI_ID)
if e != nil {