@@ -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) {