@@ -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('预售日期有问题,请提醒门店');