|
|
@@ -89,17 +89,12 @@ class BonusController extends BaseController {
|
|
|
$country = Countries::getById($user['COUNTRY_ID']);
|
|
|
$currency = Currency::getById($country['LOCAL_CURRENCY_ID']);
|
|
|
|
|
|
- //是否显示车房领袖
|
|
|
-// $showCFLX = true;
|
|
|
-// if ($data['CF'] <= 0 && $data['LX'] <= 0) {
|
|
|
-// $showCFLX = false;
|
|
|
-// //查看历史最高聘级是否到过五钻
|
|
|
-// if (EmployLevel::getSortById(Info::getHighEmpLv($userId)) >= 7) {
|
|
|
-// $showCFLX = true;
|
|
|
-// }
|
|
|
-// }
|
|
|
+ // TODO: PRP账户
|
|
|
+ $data['PRP'] = 0;
|
|
|
+
|
|
|
$wallet[] = ['walletType' => 'bonus', 'walletName' => Yii::t('app', 'memberBonus'), 'amount' => Tool::formatPrice($data['BONUS'])];//会员奖金
|
|
|
$wallet[] = ['walletType' => 'cash', 'walletName' => Yii::t('app', 'memberEcoin'), 'amount' => Tool::formatPrice($data['CASH']), 'coin' => $currency['CODE']];//会员余额
|
|
|
+ $wallet[] = ['walletType' => 'prp', 'walletName' => Yii::t('app', 'memberPrp'), 'amount' => Tool::formatPrice($data['PRP']), 'coin' => $currency['CODE']];//会员余额
|
|
|
// $wallet[] = ['walletType' => 'point', 'walletName' => '会员积分', 'amount' => Tool::formatPrice($data['RECONSUME_POINTS'])];
|
|
|
// $wallet[] = ['walletType' => 'exchange', 'walletName' => 'Exchange points', 'amount' => Tool::formatPrice($data['EXCHANGE_POINTS'])];//兑换点数
|
|
|
// $wallet[] = ['walletType' => 'tourism_points', 'walletName' => 'Travel points', 'amount' => Tool::formatPrice($data['TOURISM_POINTS'])];//旅游积分
|