|
|
@@ -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]);
|