shensong00 2 months ago
parent
commit
29c557be66

+ 1 - 0
app/Console/Commands/ECommerceUserActionsDataUpload.php

@@ -236,6 +236,7 @@ class ECommerceUserActionsDataUpload extends Command
236 236
             "account_id"         => $data['account_id'],             // web数据源ID对应的账号ID
237 237
             "user_action_set_id" => $data['bind_user_action_set_id'],// web数据源ID
238 238
             'click_id'           => $clickData['click_id'],
239
+            'sys_group_id'       => $data['sys_group_id'],
239 240
         ];
240 241
 
241 242
         $isMatchRule   = true;

+ 1 - 2
app/Console/Commands/Test.php

@@ -128,8 +128,7 @@ class Test extends Command
128 128
     }
129 129
 
130 130
     public function ECommerceUserActionsDataUpload() {
131
-        $orderList = YxOrder::query()->where('order_create_time', '>=', '2024-11-24')
132
-            ->where('order_create_time', '<', '2024-11-25')->where('order_status', 1)->get();
131
+        $orderList = YxOrder::query()->where('order_create_time', '>=', '2024-11-27')->whereNull('ad_report_click_id')->where('order_status', 1)->get();
133 132
         foreach($orderList as $orderInfo) {
134 133
             TencentAdAuth::intoActionAddListSecond($orderInfo->toArray());
135 134
         }