git -C '/home/opc/rocketa.git' show df26125 -- app/Console/Commands/GetResultDatasTest.phpcommit df26125a6073a9e4567aa83b75d56071daa471bd
Author: Satoshi Ujihara <satoshi_ujihara@fivegate.jp>
Date: Wed Nov 19 17:33:59 2025 +0900
翻訳文字追加
テストセンター機能修正(実際のMMPのポストバックに近い形式でテストできるよう修正+デザインの修正)
diff --git a/app/Console/Commands/GetResultDatasTest.php b/app/Console/Commands/GetResultDatasTest.php
index 9a6a2b4..108236e 100644
--- a/app/Console/Commands/GetResultDatasTest.php
+++ b/app/Console/Commands/GetResultDatasTest.php
@@ -625,9 +625,9 @@ class GetResultDatasTest 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'];
@@ -1441,7 +1441,7 @@ class GetResultDatasTest 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;
}
}
/*
@@ -1644,12 +1644,12 @@ class GetResultDatasTest 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_test']); //test環境限定
-
$url = explode('?', $replaced_url);
$path = $url[0];
if (isset($url[1])) {
@@ -1892,13 +1892,26 @@ class GetResultDatasTest 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'
];
}
}