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