mirror of
https://github.com/lkddi/Xboard.git
synced 2026-04-24 03:57:27 +08:00
refactor: 重构规范部分代码、邮件队列增加失败重试、去除多个支付方式、更新依赖
This commit is contained in:
@@ -2,8 +2,6 @@
|
||||
|
||||
namespace App\Services;
|
||||
|
||||
use App\Jobs\StatServerJob;
|
||||
use App\Jobs\StatUserJob;
|
||||
use App\Jobs\TrafficFetchJob;
|
||||
use App\Models\Order;
|
||||
use App\Models\Plan;
|
||||
@@ -172,7 +170,7 @@ class UserService
|
||||
{
|
||||
// 获取子节点
|
||||
$childServer = ($server['parent_id'] == null && !blank($nodeIp))
|
||||
? (new ServerService())->getChildServer($server['id'], $protocol, $nodeIp)
|
||||
? ServerService::getChildServer($server['id'], $protocol, $nodeIp)
|
||||
: null;
|
||||
$timestamp = strtotime(date('Y-m-d'));
|
||||
collect($data)->chunk(1000)->each(function($chunk) use ($timestamp,$server,$protocol, $childServer){
|
||||
|
||||
Reference in New Issue
Block a user