瀏覽代碼

修复错误

jason 11 月之前
父節點
當前提交
6ca582c625
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      application/api/controller/User.php

+ 4 - 4
application/api/controller/User.php

@@ -263,7 +263,7 @@ class User extends Api
         $wallet = (new OfflineWithdrawRecordModel())
             ->where('user_id', $user['id'])
             ->where('symbol', 'smh')
-            ->where('status', OfflineWithdrawRecordModel::StatusSuccessHand)
+            ->where('status', OfflineWithdrawRecordModel::StatusSuccess)
             ->find();
         if (!empty($wallet)) {
             $resp['address'] = $wallet['to_address'];
@@ -330,7 +330,7 @@ class User extends Api
         $wallet = (new OfflineWithdrawRecordModel())
             ->where('user_id', $user['id'])
             ->where('symbol', 'smh')
-            ->where('status', OfflineWithdrawRecordModel::StatusSuccessHand)
+            ->where('status', OfflineWithdrawRecordModel::StatusSuccess)
             ->find();
         if (!empty($wallet)) {
             $address = $wallet['to_address'];
@@ -454,7 +454,7 @@ class User extends Api
         $wallet = (new OfflineWithdrawRecordModel())
             ->where('user_id', $user['id'])
             ->where('symbol', 'aleo')
-            ->where('status', OfflineWithdrawRecordModel::StatusSuccessHand)
+            ->where('status', OfflineWithdrawRecordModel::StatusSuccess)
             ->find();
         if (!empty($wallet)) {
             $resp['address'] = $wallet['to_address'];
@@ -520,7 +520,7 @@ class User extends Api
         $wallet = (new OfflineWithdrawRecordModel())
             ->where('user_id', $user['id'])
             ->where('symbol', 'aleo')
-            ->where('status', OfflineWithdrawRecordModel::StatusSuccessHand)
+            ->where('status', OfflineWithdrawRecordModel::StatusSuccess)
             ->find();
         if (!empty($wallet)) {
             $address = $wallet['to_address'];