|
|
@@ -10,6 +10,7 @@ namespace common\helpers\bonus;
|
|
|
|
|
|
use common\helpers\Cache;
|
|
|
use common\helpers\Date;
|
|
|
+use common\helpers\LoggerTool;
|
|
|
use common\helpers\snowflake\SnowFake;
|
|
|
use common\helpers\Tool;
|
|
|
use common\models\BsBonus103Calc;
|
|
|
@@ -594,6 +595,8 @@ class CalcServeBonusCalc extends BaseObject {
|
|
|
|
|
|
// 查询会员产生时,填写的报单中心
|
|
|
$bonusUserId = DecOrder::find()->where('TO_USER_ID=:TO_USER_ID', [':TO_USER_ID' => $userId])->select('DEC_ID')->column();
|
|
|
+ LoggerTool::debug(json_encode(['$bonusUserId', $bonusUserId]));
|
|
|
+
|
|
|
//判断parent的报单中心级别 和 服务奖比例
|
|
|
//计算级别之后更新过userInfo的缓存,缓存中级别发生了变化
|
|
|
// $bonusUserInfo = CalcCache::getUserInfo($bonusUserId, $this->_periodNum);
|