kevin_zhangl 2 年之前
父節點
當前提交
59fefd9f4a
共有 1 個文件被更改,包括 2 次插入3 次删除
  1. 2 3
      frontendApi/modules/v1/controllers/ShopController.php

+ 2 - 3
frontendApi/modules/v1/controllers/ShopController.php

@@ -542,12 +542,11 @@ class ShopController extends BaseController {
             }
         }
 
-        LoggerTool::debug(4);
         // 更新db中订单推送成功状态
         if (count($orderSnSuccess) > 0) {
-            Order::updateAll(['SEND_AT' => time()], 'SN IN (:SN)', [':SN' => $orderSnSuccess]);
+            Order::updateAll(['SEND_AT' => time()], 'SN IN (:SN)', [':SN' =>  implode("', '", $orderSnSuccess)]);
         }
-        LoggerTool::debug(5);
+
         if (count($orderSnFailed) > 0) {
             // 发送预警通知
             LoggerTool::error(['自动推送wst失败', $orderSnFailed]);