|
|
@@ -12,6 +12,7 @@ namespace common\helpers\user;
|
|
|
use common\components\ActiveQuery;
|
|
|
use common\components\ActiveRecord;
|
|
|
use common\helpers\Cache;
|
|
|
+use common\helpers\LoggerTool;
|
|
|
use common\helpers\Tool;
|
|
|
use common\models\BaUser;
|
|
|
use common\models\BaUserInfo;
|
|
|
@@ -24,6 +25,7 @@ use common\models\DecRole;
|
|
|
use common\models\EmployLevel;
|
|
|
use common\models\OpenBank;
|
|
|
use common\models\Region;
|
|
|
+use common\models\StarCrownLevel;
|
|
|
use common\models\User;
|
|
|
use common\models\UserBonus;
|
|
|
use common\models\UserInfo;
|
|
|
@@ -129,6 +131,7 @@ class Info {
|
|
|
if (!$data['DEC_LV']) $data['DEC_LV'] = DeclarationLevel::getDefaultLevelId();
|
|
|
if (!$data['LAST_DEC_LV']) $data['LAST_DEC_LV'] = DeclarationLevel::getDefaultLevelId();
|
|
|
if (!$data['EMP_LV']) $data['EMP_LV'] = EmployLevel::getDefaultLevelId();
|
|
|
+ if (!$data['CROWN_LV']) $data['CROWN_LV'] = StarCrownLevel::getDefaultLevelId();
|
|
|
return $data;
|
|
|
}
|
|
|
|
|
|
@@ -205,6 +208,7 @@ class Info {
|
|
|
if (!$data['DEC_LV']) $data['DEC_LV'] = DeclarationLevel::getDefaultLevelId();
|
|
|
if (!$data['LAST_DEC_LV']) $data['LAST_DEC_LV'] = DeclarationLevel::getDefaultLevelId();
|
|
|
if (!$data['EMP_LV']) $data['EMP_LV'] = EmployLevel::getDefaultLevelId();
|
|
|
+ if (!$data['CROWN_LV']) $data['CROWN_LV'] = StarCrownLevel::getDefaultLevelId();
|
|
|
if (!$data['HIGHEST_EMP_LV']) $data['HIGHEST_EMP_LV'] = EmployLevel::getDefaultLevelId();
|
|
|
return $data;
|
|
|
}else{
|
|
|
@@ -245,6 +249,7 @@ class Info {
|
|
|
$baseInfo['LAST_DEC_LV_NAME'] = Cache::getDecLevelConfig()[$baseInfo['LAST_DEC_LV']]['LEVEL_NAME'];
|
|
|
$baseInfo['EMP_LV_NAME'] = Cache::getEmpLevelConfig()[$baseInfo['EMP_LV']]['LEVEL_NAME'];
|
|
|
$baseInfo['HIGHEST_EMP_LV_NAME'] = '';
|
|
|
+ $baseInfo['CROWN_LV_NAME'] = Cache::getStarCrownLevelConfig()[$baseInfo['CROWN_LV']]['LEVEL_NAME'];
|
|
|
// 获取会员报单级别
|
|
|
$baseInfo['DEC_ROLE_NAME'] = '无';
|
|
|
//民族
|