From 752074a709e78e2abadfa9c210b6fcc90902dd91 Mon Sep 17 00:00:00 2001 From: lingling <1077478963@qq.com> Date: Sat, 22 Feb 2025 21:30:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dws=E8=B4=A6=E6=88=B7=E4=B8=8D?= =?UTF-8?q?=E5=9C=A8=E5=90=8E=E5=8F=B0=E7=AE=A1=E7=90=86=E7=B3=BB=E7=BB=9F?= =?UTF-8?q?=E9=87=8C=E9=9D=A2=20=E6=98=BE=E7=A4=BA=E5=9C=A8=E7=BA=BF?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Utils/API/SendCode.php | 1 + process/Task2.php | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app/Utils/API/SendCode.php b/app/Utils/API/SendCode.php index 1a75b37..a0a8085 100644 --- a/app/Utils/API/SendCode.php +++ b/app/Utils/API/SendCode.php @@ -85,6 +85,7 @@ class SendCode return 2; } if($responseData['code'] == 2){ + Log::warning("ws 在第三方api不存在 ws号".$phone); return 3; } return -1; diff --git a/process/Task2.php b/process/Task2.php index 20c9fb3..890774f 100644 --- a/process/Task2.php +++ b/process/Task2.php @@ -96,7 +96,9 @@ class Task2 if ($status == 3) { // 如果账户不存在直接删除 // $value->delete(); - Log::warning("ws 在第三方api不存在 ws号".$value->phone); + $value->status = 0; + $value->last_time = $currentTimestamp; + $value->save(); } // UserPhoneLogDao::setOnlineTimeByPhone($value->phone, $status, $currentTimestamp); // $value->last_time = $currentTimestamp;