Kirin 3 년 전
부모
커밋
fe81b908c1
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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,
             ];