Kirin 2 gadi atpakaļ
vecāks
revīzija
fe81b908c1
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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),
                 'balance' => bcsub($user['brokerage_price'], $price, 2),
                 'add_time' => time(),
                 'add_time' => time(),
                 'status' => 1,
                 'status' => 1,
+                'commission' => bcadd($commission_gf, $commission_consumer, 2),
                 'commission_gf' => 0,
                 'commission_gf' => 0,
                 'commission_consumer' => 0,
                 'commission_consumer' => 0,
             ];
             ];