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