git -C '/home/opc/rocketa.git' show 2c52faf -- oci_func/result/func.pycommit 2c52faf0656e662f272318d3a3924c20b8f22cae
Author: Satoshi Ujihara <satoshi_ujihara@fivegate.jp>
Date: Wed Oct 22 12:37:41 2025 +0900
エラーコードを追加
diff --git a/oci_func/result/func.py b/oci_func/result/func.py
index 25f9927..90d7e92 100644
--- a/oci_func/result/func.py
+++ b/oci_func/result/func.py
@@ -25,6 +25,7 @@ def handler(ctx, data: io.BytesIO = None):
full_url = ctx.RequestURL()
query_string = urllib.parse.urlparse(full_url).query
+ logging.info(f"■■■28■■■{query_string}")
query_params = urllib.parse.parse_qs(query_string)
DB_HOST = "api.rocket-a.com"
@@ -54,7 +55,7 @@ def handler(ctx, data: io.BytesIO = None):
format_date = dt_now.strftime('%Y-%m-%d %H:%M:%S')
created_ym = dt_now.strftime('%Y%m')
error = 0
- parameters = ''
+ parameters = query_string
ip = ''
param_event = ''
@@ -82,6 +83,8 @@ def handler(ctx, data: io.BytesIO = None):
headers={"Content-Type": "application/json"}
)
+
+
# ソケット判定 謎の値を送られてきても対応できるように
if send_param_list['sender'] != '2' and send_param_list['sender'] != '3':
send_param_list['sender'] = 1