|
|
@@ -464,7 +464,7 @@ class BirthdayGiftClass extends BaseClass
|
|
|
$year = intval(date('Y')); //今年
|
|
|
list($customs, $levelMap) = self::getEligibleCustoms($shopId, $shop->mainId);
|
|
|
if ($customs === false) {
|
|
|
- Yii::error('获取符合条件的客户失败');
|
|
|
+ Yii::error('会员权益配置异常');
|
|
|
return false;
|
|
|
}
|
|
|
$existingRows = self::getAllByCondition(['shopId' => $shopId, 'year' => $year], null, 'customId');
|
|
|
@@ -537,7 +537,7 @@ class BirthdayGiftClass extends BaseClass
|
|
|
|
|
|
list($customs,) = self::getEligibleCustoms($shop->id, $shop->mainId);
|
|
|
if ($customs === false) {
|
|
|
- Yii::error('获取符合条件的客户失败');
|
|
|
+ Yii::error('会员权益配置异常');
|
|
|
return [];
|
|
|
}
|
|
|
$customMap = [];
|
|
|
@@ -611,7 +611,7 @@ class BirthdayGiftClass extends BaseClass
|
|
|
$period = $params['period'] ?? 'week';
|
|
|
list($customs,) = self::getEligibleCustoms($shop->id, $shop->mainId);
|
|
|
if ($customs === false) {
|
|
|
- Yii::error('获取符合条件的客户失败');
|
|
|
+ Yii::error('会员权益配置异常');
|
|
|
return [];
|
|
|
}
|
|
|
|
|
|
@@ -669,7 +669,7 @@ class BirthdayGiftClass extends BaseClass
|
|
|
}
|
|
|
list($customs,) = self::getEligibleCustoms($shop->id, $shop->mainId);
|
|
|
if ($customs === false) {
|
|
|
- Yii::error('获取符合条件的客户失败');
|
|
|
+ Yii::error('会员权益配置异常');
|
|
|
return [];
|
|
|
}
|
|
|
$customMap = [];
|