Compare commits
2 Commits
685c9cbd14
...
b5daafd762
Author | SHA1 | Date |
---|---|---|
|
b5daafd762 | |
|
752074a709 |
|
@ -85,6 +85,7 @@ class SendCode
|
|||
return 2;
|
||||
}
|
||||
if($responseData['code'] == 2){
|
||||
Log::warning("ws 在第三方api不存在 ws号".$phone);
|
||||
return 3;
|
||||
}
|
||||
return -1;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue