shish 3 лет назад
Родитель
Сommit
e9c7f3aa15
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app-hd/controllers/PurchaseController.php

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

@@ -131,7 +131,7 @@ class PurchaseController extends BaseController
                         if (strtotime($sendTimeWant) < $nowTime) {
                             util::fail('不能选择过去时间');
                         }
-                        $hasDate = $currentInfo['presellDateList'] ?? '';
+                        $hasDate = $currentInfo['presellDateList'] ?? [];
                         if (empty($hasDate)) {
                             util::fail('预售日期有问题,请提醒门店');
                         }