Browse Source

fix:大小写

super-yimizi 2 days ago
parent
commit
044cc32779
1 changed files with 1 additions and 0 deletions
  1. 1 0
      application/common/Service/Withdraw.php

+ 1 - 0
application/common/Service/Withdraw.php

@@ -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;
     }