shish 3 anos atrás
pai
commit
8016ed83de
1 arquivos alterados com 1 adições e 2 exclusões
  1. 1 2
      app-hd/controllers/PurchaseController.php

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

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