diff --git a/app/common/logic/task/TaskLogic.php b/app/common/logic/task/TaskLogic.php index aa414164e..6683e4f16 100644 --- a/app/common/logic/task/TaskLogic.php +++ b/app/common/logic/task/TaskLogic.php @@ -1723,8 +1723,12 @@ class TaskLogic extends BaseLogic 'type_id' => 10 ]; $result = ShopRequestLogic::getGeneralMerchantCount($param); - Log::error('查询供应链商户统计接口失败'.ShopRequestLogic::getError()); - $count = $result['data']['count']; + if ($result['status'] == 200) { + $count = $result['data']['count']; + } else { + $count = 0; + } + if ($count >= $target) { $taskMoney = $totalMoney; return $taskMoney;