|
|
@@ -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}元");
|