Browse Source

feat: NG-15: 新会员注册时增加国家与语言选项.

kevin 1 year ago
parent
commit
5e19d6632b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      common/models/Region.php

+ 1 - 0
common/models/Region.php

@@ -92,6 +92,7 @@ class Region extends \common\components\ActiveRecord
      */
     public static function getFromCache(){
         $data = Yii::$app->cache->get(Cache::REGION_CONFIG_KEY);
+        Yii::$app->cache->delete(Cache::REGION_CONFIG_KEY);
         if(!$data){
             // 获取信息
             $data = self::getAllData();