rocket-a


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

commit df26125a6073a9e4567aa83b75d56071daa471bd
Author: Satoshi Ujihara <satoshi_ujihara@fivegate.jp>
Date:   Wed Nov 19 17:33:59 2025 +0900

    翻訳文字追加
    テストセンター機能修正(実際のMMPのポストバックに近い形式でテストできるよう修正+デザインの修正)

diff --git a/app/Console/Commands/GetResultDatas.php b/app/Console/Commands/GetResultDatas.php
index 07d244b..15a259f 100644
--- a/app/Console/Commands/GetResultDatas.php
+++ b/app/Console/Commands/GetResultDatas.php
@@ -625,9 +625,9 @@ class GetResultDatas extends Command
                      */
                     $ayet_studios_default_event = 'INSTALLATION_TRACKED';
 
-                    if ($result_record['ad_id'] == 2315) {
-                        $ayet_studios_default_event = 'Tutorial_complete';
-                    }
+                    // if ($result_record['ad_id'] == 2315) {
+                    //     $ayet_studios_default_event = 'Tutorial_complete';
+                    // }
 
                     if (isset($ad_data['ayet_studios_install']) && $ad_data['ayet_studios_install'] != '') {
                         $ayet_studios_default_event = $ad_data['ayet_studios_install'];
@@ -1443,7 +1443,7 @@ class GetResultDatas extends Command
             // パートナー独自パラメータ追加
             if ($media_other_parameters) {
                 foreach ($media_other_parameters as $media_other_key => $media_other_value) {
-                    $query["custome.".$media_other_key] = $media_other_value;
+                    $query["custom.".$media_other_key] = $media_other_value;
                 }
             }
             /*
@@ -1648,7 +1648,7 @@ class GetResultDatas extends Command
             $query['stage'] = $insert_result_data['client_stage'];
             $query['device_uuid'] = isset($parameters['device_uuid']) ? $parameters['device_uuid'] : '';
 
-            $replaced_url = preg_replace_callback('/\{(\w+)\}/', function ($matches) use ($query) {
+            $replaced_url = preg_replace_callback('/\{([\w\.]+)\}/', function ($matches) use ($query) {
                 $key = $matches[1];
                 return isset($query[$key]) ? $query[$key] : ''; // 未設定は空文字
             }, $media_data['api_url']);
@@ -1887,13 +1887,26 @@ class GetResultDatas extends Command
     {
         return [
             '58.81.70.242', //fg
+            '3.112.156.26',
+            '3.113.116.246',
             '18.177.210.124',
+            '18.178.90.248',
             '18.182.81.54',
-            '3.113.116.246',
+            '35.73.18.225',
+            '35.76.1.45',
             '52.196.176.123',
             '54.150.6.139',
-            '61.74.194.15',
-            '52.199.189.116',
+            '54.238.226.38',
+            '3.35.29.212',
+            '3.35.66.163',
+            '3.35.109.84',
+            '3.35.115.78',
+            '3.35.125.128',
+            '3.35.125.182',
+            '3.35.142.157',
+            '3.35.145.199',
+            '3.35.185.244',
+            '3.35.253.108'
         ];
     }
 }

diff.txt · 最終更新: by root