shish 4 anni fa
parent
commit
84baf643cc
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      app-hd/controllers/PurchaseController.php

+ 1 - 1
app-hd/controllers/PurchaseController.php

@@ -72,7 +72,7 @@ class PurchaseController extends BaseController
             $ghsMainId = $ghsShopInfo->mainId ?? 0;
 
             $isOpen = ShopClass::isOpen($ghsShopInfo);
-            if ($isOpen == 0) {
+            if ($isOpen == 0 && $post['book'] == 0) {
                 util::fail('商家已关店休息了');
             }