|
|
@@ -7,7 +7,7 @@ use common\helpers\LoggerTool;
|
|
|
use Yii;
|
|
|
|
|
|
/**
|
|
|
- * This is the model class for table "{{%CROWN_LEVEL}}".
|
|
|
+ * This is the model class for table "{{%ELITE_LEVEL}}".
|
|
|
*
|
|
|
* @property string $ID
|
|
|
* @property string $LEVEL_NAME 级别名称
|
|
|
@@ -16,9 +16,6 @@ use Yii;
|
|
|
* @property int $RX_PERCENT 图标个数
|
|
|
* @property string $MIN_LEVEL_ID 上级ID
|
|
|
* @property string $LEVEL_SCORE 级别分数
|
|
|
- * @property string $UPGRADE_SCORE 升级分数
|
|
|
- * @property string $TOURISM_PERCENT 旅游奖比例
|
|
|
- * @property string $GARAGE_PERCENT 车房奖比例
|
|
|
* @property int $SORT 排序
|
|
|
* @property int $CREATED_AT 创建时间
|
|
|
* @property int $UPDATED_AT 更新时间
|
|
|
@@ -125,6 +122,7 @@ class EliteLevel extends \common\components\ActiveRecord
|
|
|
if(!$data){
|
|
|
// 获取信息
|
|
|
$data = self::getAllData();
|
|
|
+ LoggerTool::error(['$data', $data]);
|
|
|
Yii::$app->cache->set(Cache::ELITE_LEVEL_CONFIG_KEY, $data);
|
|
|
}
|
|
|
// i18n转换
|