|
|
@@ -85,7 +85,7 @@ class Offline extends Api
|
|
|
Db::startTrans();
|
|
|
try {
|
|
|
// 更新USDT和账变
|
|
|
- (new LedgerWalletModel())->changeWalletAccount($uid, Asset::TOKEN, -$amount, Action::UsdtWithdrawCash);
|
|
|
+ (new LedgerWalletModel())->changeWalletAccount($uid, Asset::TOKEN, -$amount, LedgerWalletModel::Withdraw);
|
|
|
|
|
|
// 创建提现记录
|
|
|
$txHash = Random::uuid();
|