|
|
@ -165,7 +165,7 @@ class Auth extends BaseController |
|
|
|
|
|
|
|
|
|
|
|
$brokeragePrice = User::SumBrokeragePrice(); |
|
|
|
$brokeragePrice = User::SumBrokeragePrice(); |
|
|
|
if ($brokeragePrice > 0) { |
|
|
|
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); |
|
|
|
$data['asset_price'] = bcmul($data['point_price'], $this->request->userInfo()->brokerage_price ?? 0, 2); |
|
|
|
|
|
|
|
|
|
|
|