소스 검색

提现问题

shish 2 년 전
부모
커밋
3814ba7e20
1개의 변경된 파일0개의 추가작업 그리고 8개의 파일을 삭제
  1. 0 8
      console/controllers/CashController.php

+ 0 - 8
console/controllers/CashController.php

@@ -46,14 +46,6 @@ class CashController extends Controller
                     noticeUtil::push("提现金额有问题,已回滚,orderSn:" . $orderSn, '15280215347');
                     continue;
                 }
-                $miniCashAmount = dict::getDict('miniCashAmount');
-                if ($cashAmount < $miniCashAmount) {
-                    if (getenv('YII_ENV') == 'production') {
-                        CashClass::rollback($cash, $shop, $transaction, $cashAmount, $remark);
-                        noticeUtil::push("余额不足{$miniCashAmount}元,已回滚,orderSn:" . $orderSn, '15280215347');
-                        continue;
-                    }
-                }
 
                 $getAmount = $cash->beAmount;
                 $cashAccount = $main->cashAccount ?? '';