|
@@ -106,10 +106,10 @@ class Test extends Command
|
106
|
106
|
// $this->sysCorpCustomerListTest();
|
107
|
107
|
|
108
|
108
|
// $this->quitStaffRelationDel();
|
109
|
|
-// $this->ECommerceUserActionsDataUpload();
|
|
109
|
+ $this->ECommerceUserActionsDataUpload();
|
110
|
110
|
// $this->delRelationData();
|
111
|
111
|
// $this->updateDataRecord();
|
112
|
|
- $this->batchMarkTag();
|
|
112
|
+// $this->batchMarkTag();
|
113
|
113
|
// // 获取所有已激活客服列表
|
114
|
114
|
// $followUserList = DjUser::getUserIdList($corpid);
|
115
|
115
|
// $followUserList = json_decode(json_encode($followUserList), 1);
|
|
@@ -142,7 +142,14 @@ class Test extends Command
|
142
|
142
|
}
|
143
|
143
|
|
144
|
144
|
public function ECommerceUserActionsDataUpload() {
|
145
|
|
- $orderList = YxOrder::query()->where('order_create_time', '>=', '2024-11-27')->whereNull('ad_report_click_id')->where('order_status', 1)->get();
|
|
145
|
+ $orderList = YxOrder::query()->where('tx_cps_id', 50801286)
|
|
146
|
+ ->where('order_create_time', '>=', '2024-11-28')
|
|
147
|
+ ->where('ad_report_order_status', 5)
|
|
148
|
+ ->where('order_status', 1)
|
|
149
|
+ ->where('payment_amount', '<', 99999)
|
|
150
|
+ ->orderBy('payment_amount', 'desc')
|
|
151
|
+ ->limit(3)
|
|
152
|
+ ->get();
|
146
|
153
|
foreach($orderList as $orderInfo) {
|
147
|
154
|
TencentAdAuth::intoActionAddListSecond($orderInfo->toArray());
|
148
|
155
|
}
|