Browse Source

订单回传

shensong00 15 hours ago
parent
commit
20dee6ad21
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Models/Tencent/YxOrder.php

+ 1 - 1
app/Models/Tencent/YxOrder.php

@@ -107,7 +107,7 @@ class YxOrder extends Model
107 107
         if (
108 108
             $res->payment_amount > 0 &&
109 109
             $res->order_status == 1 &&
110
-            (isset($res->ad_report_order_status) && $res->ad_report_order_status == 0)// 已经进行过回传处理的订单此项数据会发生变化
110
+            (isset($res->ad_report_order_status) && empty($res->ad_report_order_status))// 已经进行过回传处理的订单此项数据会发生变化
111 111
             && ($res->payed_time <= date('Y-m-d H:i:s', strtotime('-40 minutes')))) {# 支付成功40分钟后再进行回传,尽量避免一些由于用户取消支付导致回传数据
112 112
             # 数据回传
113 113
             TencentAdAuth::intoActionAddListSecond($res->toArray());