소스 검색

修复错误

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'];