limu 9 months ago
parent a36f01c83b
commit 78859f8188
  1. 2
      app/controller/api/Auth.php

@ -165,7 +165,7 @@ class Auth extends BaseController
$brokeragePrice = User::SumBrokeragePrice();
if ($brokeragePrice > 0) {
$data['point_price'] = bcdiv(systemConfig('all_award'), $brokeragePrice, 2);
$data['point_price'] = bcdiv(systemConfig('all_award'), $brokeragePrice, 5);
}
$data['asset_price'] = bcmul($data['point_price'], $this->request->userInfo()->brokerage_price ?? 0, 2);

Loading…
Cancel
Save