diff --git a/app/common/services/notice/official/buyer/OrderBuyerCreateNotice.php b/app/common/services/notice/official/buyer/OrderBuyerCreateNotice.php index 8eac18bc..6a87e398 100644 --- a/app/common/services/notice/official/buyer/OrderBuyerCreateNotice.php +++ b/app/common/services/notice/official/buyer/OrderBuyerCreateNotice.php @@ -47,9 +47,9 @@ class OrderBuyerCreateNotice extends BaseMessageBody $this->processData($this->orderModel); $this->getTemplate('order_submit_success'); $this->organizeData(); - \Log::debug("新版公众号消息-创建1",$this->template_id); - \Log::debug("新版公众号消息-创建2",$this->fans->openid); - \Log::debug("新版公众号消息-创建3",$this->data); + // \Log::debug("新版公众号消息-创建1",$this->template_id); + // \Log::debug("新版公众号消息-创建2",$this->fans->openid); + // \Log::debug("新版公众号消息-创建3",$this->data); $result = (new OfficialMessageNotice($this->temp_id,$this->fans->openid,$this->data,[],1,$this->url))->sendMessage(); if ($result['status'] == 0) { diff --git a/app/common/services/notice/official/buyer/OrderBuyerPayedNotice.php b/app/common/services/notice/official/buyer/OrderBuyerPayedNotice.php index 6c7fa692..7e0644a1 100644 --- a/app/common/services/notice/official/buyer/OrderBuyerPayedNotice.php +++ b/app/common/services/notice/official/buyer/OrderBuyerPayedNotice.php @@ -48,9 +48,9 @@ class OrderBuyerPayedNotice extends BaseMessageBody $this->processData($this->orderModel); $this->getTemplate('order_pay_success'); $this->organizeData(); - \Log::debug("新版公众号消息-支付1",$this->template_id); - \Log::debug("新版公众号消息-支付2",$this->fans->openid); - \Log::debug("新版公众号消息-支付3",$this->data); + // \Log::debug("新版公众号消息-支付1",$this->template_id); + // \Log::debug("新版公众号消息-支付2",$this->fans->openid); + // \Log::debug("新版公众号消息-支付3",$this->data); $result = (new OfficialMessageNotice($this->temp_id,$this->fans->openid,$this->data,[],1,$this->url))->sendMessage(); if ($result['status'] == 0) { diff --git a/plugins/commission/src/Listener/OrderCreatedListener.php b/plugins/commission/src/Listener/OrderCreatedListener.php index 42bad091..64551a4b 100644 --- a/plugins/commission/src/Listener/OrderCreatedListener.php +++ b/plugins/commission/src/Listener/OrderCreatedListener.php @@ -68,7 +68,7 @@ class OrderCreatedListener //订单model (不用再find一次了) $this->order = $orderModel; - \Log::debug('分销执行分销设置:' . json_encode($this->set, 256)); + // \Log::debug('分销执行分销设置:' . json_encode($this->set, 256)); //验证分销插件是否开启 if (!$this->set['is_commission']) { diff --git a/plugins/team-dividend/src/jobs/NewUpgrateJob.php b/plugins/team-dividend/src/jobs/NewUpgrateJob.php index 3bf0b98b..a81e7d3c 100644 --- a/plugins/team-dividend/src/jobs/NewUpgrateJob.php +++ b/plugins/team-dividend/src/jobs/NewUpgrateJob.php @@ -95,7 +95,7 @@ class NewUpgrateJob implements ShouldQueue return; } - \Log::debug('经销商升级 - 开始处理:'); + \Log::debug('经销商升级 - 开始处理:',$agent['uid']); // 默认可以升级 $upgradeRet = false; foreach ($upgradeLevels as $level) { @@ -154,7 +154,7 @@ class NewUpgrateJob implements ShouldQueue // 升级类 $upgrateService = new UpgrateConditionService($agent['uid'], $this->setting, $parase[1], $this->uniacid, $typeName, $order_status, $this->order, $this->uplogService); // 升级方法 - \Log::debug('===123分组方法名:' . $typeName); + // \Log::debug('===123分组方法名:' . $typeName); $func = $this->getFunctionName($typeName); if (!method_exists($upgrateService, $func)) { @@ -221,7 +221,7 @@ class NewUpgrateJob implements ShouldQueue // 升级类 $upgrateService = new UpgrateConditionService($agent['uid'], $this->setting, $parase[1], $this->uniacid, $upgrade, $order_status, $this->order, $this->uplogService); // 升级方法 - \Log::debug('===123单个方法名:' . $upgrade); + // \Log::debug('===123单个方法名:' . $upgrade); $func = $this->getFunctionName($upgrade); // 升级条件 结果 if (!method_exists($upgrateService, $func)) { @@ -338,7 +338,7 @@ class NewUpgrateJob implements ShouldQueue $oldUpgrade = new UpgradeService(); $upgradeLevels = $this->getUpgrateLevelsByWeight($agent,1); if ($upgradeLevels->isEmpty()) return; - \Log::debug('经销商升级 - 文创等级 - 开始处理:'); + \Log::debug('经销商升级 - 文创等级 - 开始处理:',$agent['uid']); // 默认可以升级 $upgradeRet = false; foreach ($upgradeLevels as $level) { diff --git a/plugins/team-dividend/src/services/upgrate/UpgrateConditionService.php b/plugins/team-dividend/src/services/upgrate/UpgrateConditionService.php index 0c1b44a5..1a964677 100644 --- a/plugins/team-dividend/src/services/upgrate/UpgrateConditionService.php +++ b/plugins/team-dividend/src/services/upgrate/UpgrateConditionService.php @@ -1993,11 +1993,11 @@ class UpgrateConditionService{ 'remark' => $isReach ? '满足条件' : '不满足条件' ]); - \Log::debug('经销商升级 - 升级条件 - 直推间推人数 - 是否达到条件:',[ - '需求人数' => $people, - '当前人数' => $hasNum, - 'is_reach' => $isReach - ]); + // \Log::debug('经销商升级 - 升级条件 - 直推间推人数 - 是否达到条件:',[ + // '需求人数' => $people, + // '当前人数' => $hasNum, + // 'is_reach' => $isReach + // ]); if($isReach) return true; }catch(\Exception $e){ diff --git a/plugins/weight-value/src/models/WeightValue.php b/plugins/weight-value/src/models/WeightValue.php index 3bd81e35..79808ea8 100644 --- a/plugins/weight-value/src/models/WeightValue.php +++ b/plugins/weight-value/src/models/WeightValue.php @@ -89,6 +89,7 @@ class WeightValue extends BaseModel{ } DB::commit(); + \Log::debug('------购买商品赠送权重值 - 处理完成------',$model->id); }catch(\Exception $e){ \Log::debug('------购买商品赠送权重值 - 错误抛出------',$e->getMessage()); DB::rollBack();