|
|
@@ -472,7 +472,7 @@ class UserController extends BaseController {
|
|
|
$userBalance['localCash'] = Tool::convertAmount($userCash['CASH'], $decUserCurrencyRate, $currencyRate);
|
|
|
}
|
|
|
// 会员绩效奖金
|
|
|
- $userPerformanceAmount = UserPerformance::getAmountByUserId(\Yii::$app->user->id);
|
|
|
+ $userPerformanceAmount = UserPerformance::getAmounts(\Yii::$app->user->id);
|
|
|
|
|
|
$userBalance['prp'] = $userPerformanceAmount ?? 0;
|
|
|
$userBalance['localPrp'] = Tool::convertAmount($userPerformanceAmount, $decUserCurrencyRate, $currencyRate);
|