|
@@ -31,8 +31,7 @@ class Withdraw
|
|
|
}
|
|
|
|
|
|
// 提现规则
|
|
|
- $config = shop_config('shop.recharge_withdraw.withdraw');
|
|
|
-
|
|
|
+ $config = shop_config('shop.withdraw');
|
|
|
$config['min_amount'] = $config['min_amount'] == 0 ? $config['min_amount'] : number_format(floatval($config['min_amount']), 2, '.', '');
|
|
|
$config['max_amount'] = $config['max_amount'] == 0 ? $config['max_amount'] : number_format(floatval($config['max_amount']), 2, '.', '');
|
|
|
$config['charge_rate_format'] = round(floatval($config['charge_rate']), 1); // 1 位小数
|