From c9d14e48cb13a32561ec18319c3704af7ef753f7 Mon Sep 17 00:00:00 2001 From: chenbo <709206448@qq.com> Date: Mon, 20 Nov 2023 17:51:18 +0800 Subject: [PATCH] fixed --- app/common/logic/task/TaskLogic.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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;