rabin 6 년 전
부모
커밋
fc3b3d7124
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      buy/src/Buy.php

+ 1 - 1
buy/src/Buy.php

@@ -29,7 +29,7 @@ class Buy extends Base
             foreach ($data as $k => $v) {
                 if ($v['buy'] == 1 && $v['cash'] > 0) {
 
-                    $data[$k]['price'] = $num . '本 ¥' . number_format(($v['cash'] * 100), 2);
+                    $data[$k]['price'] = $num . '本 ¥' . number_format(($v['cash']), 2);
                 } else {
                     $data[$k]['price'] = '免费';
                 }