소스 검색

fix:大小写

super-yimizi 1 개월 전
부모
커밋
044cc32779
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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;
     }