|
@@ -201,6 +201,7 @@ class EmployLevel extends \common\components\ActiveRecord
|
|
|
* @return array|mixed|\yii\db\ActiveRecord[]
|
|
* @return array|mixed|\yii\db\ActiveRecord[]
|
|
|
*/
|
|
*/
|
|
|
public static function getFromCache(){
|
|
public static function getFromCache(){
|
|
|
|
|
+ Yii::$app->cache->delete(Cache::EMP_LEVEL_CONFIG_KEY);
|
|
|
$data = Yii::$app->cache->get(Cache::EMP_LEVEL_CONFIG_KEY);
|
|
$data = Yii::$app->cache->get(Cache::EMP_LEVEL_CONFIG_KEY);
|
|
|
if(!$data){
|
|
if(!$data){
|
|
|
// 获取信息
|
|
// 获取信息
|