zz 4 年之前
父节点
当前提交
da2f011632
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      app/Console/Commands/Channel/ReportUserAndOrderToChannel.php

+ 3 - 1
app/Console/Commands/Channel/ReportUserAndOrderToChannel.php

@@ -68,6 +68,7 @@ class ReportUserAndOrderToChannel extends Command
                     'distribution_channel_id'=>$distribution_channel_id,
                     'distribution_channel_id'=>$distribution_channel_id,
                     'price'=>$price,
                     'price'=>$price,
                     'order_created_at'=>$order_created_at,
                     'order_created_at'=>$order_created_at,
+                    'source'=>'wangduyun',
                     'event'=>'order'
                     'event'=>'order'
                 ]])->getBody()->getContents();
                 ]])->getBody()->getContents();
                 if($result && str_contains(strtolower($result),self::SUCCESS)){
                 if($result && str_contains(strtolower($result),self::SUCCESS)){
@@ -102,7 +103,8 @@ class ReportUserAndOrderToChannel extends Command
                     'register_ip'=>$register_ip,
                     'register_ip'=>$register_ip,
                     'user_agent'=>$user_agent,
                     'user_agent'=>$user_agent,
                     'user_created_at'=>$user_created_at,
                     'user_created_at'=>$user_created_at,
-                    'event'=>'user'
+                    'event'=>'user',
+                    'source'=>'wangduyun'
                 ]])->getBody()->getContents();
                 ]])->getBody()->getContents();
                 if($result && str_contains(strtolower($result),self::SUCCESS)){
                 if($result && str_contains(strtolower($result),self::SUCCESS)){
                     ReportToChannelUserAndOrderService::updateUserErrorRecord($item->id,['report_status'=>2]);
                     ReportToChannelUserAndOrderService::updateUserErrorRecord($item->id,['report_status'=>2]);