kevin_zhangl 2 년 전
부모
커밋
2d5f0417e4
1개의 변경된 파일2개의 추가작업 그리고 3개의 파일을 삭제
  1. 2 3
      common/helpers/Logistics.php

+ 2 - 3
common/helpers/Logistics.php

@@ -44,10 +44,9 @@ class Logistics
 
     function __construct()
     {
-        \Yii::$app->redis->delete(self::wstLogisticsBearerTokenKey);
-        if (!\Yii::$app->redis->get(self::wstLogisticsBearerTokenKey)) {
+        // if (!\Yii::$app->redis->get(self::wstLogisticsBearerTokenKey)) {
             $this->getAuthentication();
-        }
+        // }
     }
 
     /**