rabin 5 years ago
parent
commit
fc3b3d7124
1 changed files with 1 additions and 1 deletions
  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'] = '免费';
                 }