Ver código fonte

创建订单-修复下单问题

sunxbiao 5 meses atrás
pai
commit
a51a811f43
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      app/command/PensionTasks.php

+ 1 - 1
app/command/PensionTasks.php

@@ -1588,7 +1588,7 @@ class PensionTasks extends Command
1588
             foreach ($order_data as $online) {
1588
             foreach ($order_data as $online) {
1589
                 if (strtotime($online['create_time']) < strtotime($date)) {
1589
                 if (strtotime($online['create_time']) < strtotime($date)) {
1590
                     $orderIdList[] = $online['order_id'];
1590
                     $orderIdList[] = $online['order_id'];
1591
-                } else if ($order_data['mer_id'] == CommonEnum::DESIGN_MERCHANT_ID['SharedProsperity']['code']) {
1591
+                } else if ($online['mer_id'] == CommonEnum::DESIGN_MERCHANT_ID['SharedProsperity']['code']) {
1592
                     if (strtotime($online['create_time']) < strtotime(date('Y-m-d 00:00:00'))) {
1592
                     if (strtotime($online['create_time']) < strtotime(date('Y-m-d 00:00:00'))) {
1593
                         $orderIdList[] = $online['order_id'];
1593
                         $orderIdList[] = $online['order_id'];
1594
                     }
1594
                     }