Kirin 2 years ago
parent
commit
fe81b908c1
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/models/user/UserRecharge.php

+ 1 - 0
app/models/user/UserRecharge.php

@@ -176,6 +176,7 @@ class UserRecharge extends BaseModel
                 'balance' => bcsub($user['brokerage_price'], $price, 2),
                 'add_time' => time(),
                 'status' => 1,
+                'commission' => bcadd($commission_gf, $commission_consumer, 2),
                 'commission_gf' => 0,
                 'commission_consumer' => 0,
             ];