Browse Source

错误信息修改

shizhongqi 1 month ago
parent
commit
7c317a7bca
1 changed files with 4 additions and 4 deletions
  1. 4 4
      biz-hd/birthday/classes/BirthdayGiftClass.php

+ 4 - 4
biz-hd/birthday/classes/BirthdayGiftClass.php

@@ -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 = [];