|
@@ -36,6 +36,7 @@ class Withdraw
|
|
|
$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 位小数
|
|
|
$config['charge_rate'] = round((floatval($config['charge_rate']) * 0.01), 3);
|
|
|
+ $config['num_unit'] = $config['num_unit'] == 'day' ? '天' : '月';
|
|
|
|
|
|
$this->config = $config;
|
|
|
}
|