rocket-a


git -C '/home/opc/rocketa.git' show 129cb6c -- app/Console/Commands/GetResultDatas.php

commit 129cb6c2c3609d213f46aebae04b7bebb7c8f377
Author: Satoshi Ujihara <satoshi_ujihara@fivegate.jp>
Date:   Thu Nov 6 15:06:44 2025 +0900

    バリデーション追加
    成果通信まわり修正

diff --git a/app/Console/Commands/GetResultDatas.php b/app/Console/Commands/GetResultDatas.php
index 6a298cb..1b107c0 100644
--- a/app/Console/Commands/GetResultDatas.php
+++ b/app/Console/Commands/GetResultDatas.php
@@ -263,7 +263,7 @@ class GetResultDatas extends Command
                     $ad_data['result_type'] == 2 ||
                     ($ad_data['status'] == 1 && $ad_data['valid_start_date'] <= $now_date_time && $ad_data['valid_end_date'] > $now_date_time) ||
                     $ad_data['absolute_result'] == 1 ||
-                    (($ad_data['result_method'] == 3 || $ad_data['result_method'] == 4 || $ad_data['result_method'] == 6 || $ad_data['result_method'] == 7 || $ad_data['result_method'] == 8 || $ad_data['result_method'] == 9 || $ad_data['result_method'] == 10) && $ad_data['app_approval_wait'] == 1)
+                    (($ad_data['result_method'] == 3 || $ad_data['result_method'] == 4 || $ad_data['result_method'] == 5 || $ad_data['result_method'] == 6 || $ad_data['result_method'] == 7 || $ad_data['result_method'] == 8 || $ad_data['result_method'] == 9 || $ad_data['result_method'] == 10) && $ad_data['app_approval_wait'] == 1)
                 ) {
                     $result_data = ResultDatas::select()
                         ->where('ad_id', $result_record['ad_id'])
@@ -1633,6 +1633,8 @@ class GetResultDatas extends Command
             */
             //上のelseの部分
             $query['ad_id'] = $insert_result_data['ad_id'];
+            $query['media_id'] = $insert_result_data['media_id'];
+            $query['client_id'] = $insert_result_data['client_id'];
             $query['media_uid'] = $insert_result_data['media_uid'];
             $query['sid'] = $insert_result_data['sid'];
             $query['amount'] = $insert_result_data['client_amount'];

diff.txt · 最終更新: by root