refactor:拆分 API 路由与请求校验,统一 final 类和代码风格
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
namespace App\Services\Wallet;
|
||||
|
||||
use App\Models\Player;
|
||||
use GuzzleHttp\Exception\ConnectException;
|
||||
use Illuminate\Support\Facades\Http;
|
||||
use GuzzleHttp\Exception\ConnectException;
|
||||
|
||||
/**
|
||||
* 通过 HTTP 调用主站钱包 API(路径见 config lottery.main_site.wallet_*_path)。
|
||||
|
||||
@@ -2,17 +2,17 @@
|
||||
|
||||
namespace App\Services\Wallet;
|
||||
|
||||
use App\Exceptions\WalletOperationException;
|
||||
use App\Lottery\ErrorCode;
|
||||
use App\Models\Currency;
|
||||
use App\Models\Player;
|
||||
use App\Models\Currency;
|
||||
use App\Models\WalletTxn;
|
||||
use App\Lottery\ErrorCode;
|
||||
use Illuminate\Support\Str;
|
||||
use App\Models\PlayerWallet;
|
||||
use App\Models\TransferOrder;
|
||||
use App\Models\WalletTxn;
|
||||
use App\Services\LotterySettings;
|
||||
use Illuminate\Database\QueryException;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
use Illuminate\Support\Str;
|
||||
use Illuminate\Database\QueryException;
|
||||
use App\Exceptions\WalletOperationException;
|
||||
|
||||
/**
|
||||
* 主站 ↔ 彩票钱包:转入 / 转出(幂等键 + 流水 + 订单)。
|
||||
|
||||
Reference in New Issue
Block a user