wallet tron transactions

This commit is contained in:
cano
2024-03-25 06:15:36 +08:00
parent 4b8f205e86
commit 489090382f
83 changed files with 5424 additions and 1343 deletions

View File

@ -0,0 +1,25 @@
<?php
namespace App\Bean\Queue;
use App\Bean\Model\Base\BaseBean;
class QueueBaseBean extends BaseBean
{
const TRY_LIMIT = 3;
protected $try_times = 0;
public function IncrTryTimes($num = 1): void
{
$this->try_times += $num;
}
public function checkTryTimes(): bool
{
if($this->try_times >= self::TRY_LIMIT) {
return false;
}
return true;
}
}