Explorar el Código

已经改成手动提现

shish hace 5 años
padre
commit
d03547fb9f
Se han modificado 1 ficheros con 0 adiciones y 6 borrados
  1. 0 6
      app-pt/controllers/CashController.php

+ 0 - 6
app-pt/controllers/CashController.php

@@ -57,12 +57,6 @@ class CashController extends BaseController
                 util::fail('提现金额有问题');
             }
             $miniCashAmount = dict::getDict('miniCashAmount');
-            if (getenv('YII_ENV', 'local') != 'production') {
-                if ($cashAmount > $miniCashAmount) {
-                    CashClass::rollback($cash, $shop, $transaction, $cashAmount, $remark);
-                    util::fail("测试提现不超过{$miniCashAmount}元");
-                }
-            }
             if ($cashAmount < $miniCashAmount) {
                 CashClass::rollback($cash, $shop, $transaction, $cashAmount, $remark);
                 util::fail("余额不足{$miniCashAmount}元");