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,34 @@
<?php
namespace App\Jobs\Api;
use App\Exceptions\ModelException;
use App\Models\Api\Post\PostPushBoxModel;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Bus\Dispatchable;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Queue\SerializesModels;
class AddPostQueue implements ShouldQueue
{
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
/**
* Create a new job instance.
*/
public function __construct()
{
//处理用户的推文推送
}
/**
* Execute the job.
* @throws ModelException
*/
public function handle(array $params): void
{
$oPostPushBoxModel = new PostPushBoxModel();
$oPostPushBoxModel->addPostQueueConsumer($params);
}
}

View File

@ -0,0 +1,32 @@
<?php
namespace App\Jobs\Api;
use App\Models\Api\Customer\CustomerUserExtendModel;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Bus\Dispatchable;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Queue\SerializesModels;
class UserActiveStatusQueue implements ShouldQueue
{
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
/**
* Create a new job instance.
*/
public function __construct()
{
//处理用户活跃状态改变后任务
}
/**
* Execute the job.
*/
public function handle(array $params): void
{
$oCustomerUserExtendModel = new CustomerUserExtendModel();
$oCustomerUserExtendModel->activeUserStatusQueueConsumer($params);
}
}