afa 11 月之前
父節點
當前提交
48d80bd7dc
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      application/api/controller/Offline.php

+ 1 - 1
application/api/controller/Offline.php

@@ -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();