kevin_zhangl 2 năm trước cách đây
mục cha
commit
2d5f0417e4
1 tập tin đã thay đổi với 2 bổ sung3 xóa
  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();
-        }
+        // }
     }
 
     /**