kevin_zhangl il y a 2 ans
Parent
commit
2d5f0417e4
1 fichiers modifiés avec 2 ajouts et 3 suppressions
  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();
-        }
+        // }
     }
 
     /**