lizhen_gitee 4 months ago
parent
commit
7768f2feb1
1 changed files with 2 additions and 2 deletions
  1. 2 2
      application/api/controller/Takecash.php

+ 2 - 2
application/api/controller/Takecash.php

@@ -36,7 +36,7 @@ class Takecash extends Api
         if ($list) {
             $arr = [
                 'id' => -1,
-                'gold' => 0,
+                'money' => 0,
                 'real_money' => 0,
                 'type' => 0,
                 'is_show' => 1,
@@ -104,7 +104,7 @@ class Takecash extends Api
             $plat_money = bcdiv(bcmul($money,$withdrawal_rate,2),100,2);
 
             //减去手续费,得实得金额
-            $real_money = bcdiv(bcsub($money,$plat_money,2),100,2);
+            $real_money = bcsub($money,$plat_money,2);
         }
 
         if ($money <= 0 || $real_money <= 0) {