|
|
@@ -90,9 +90,10 @@ class ConsoleController extends BaseController
|
|
|
$cacheKey = 'close_book_' . $this->shopAdminId;
|
|
|
$hasClose = Yii::$app->redis->executeCommand('GET', [$cacheKey]);
|
|
|
$showBook = 1;
|
|
|
- $shopAddTime = $this->shop->addTime;
|
|
|
- $shopTime = strtotime($shopAddTime) + 90 * 24 * 60 * 60;
|
|
|
- if (!empty($hasClose) || $shopTime < time()) {
|
|
|
+ //$shopAddTime = $this->shop->addTime;
|
|
|
+ //$shopTime = strtotime($shopAddTime) + 90 * 24 * 60 * 60;
|
|
|
+ //if (!empty($hasClose) || $shopTime < time()) {
|
|
|
+ if (!empty($hasClose)) {
|
|
|
$showBook = 0;
|
|
|
}
|
|
|
|