Răsfoiți Sursa

update lambda_logs_refund.py.

xdc 5 ani în urmă
părinte
comite
cbc0481786
1 a modificat fișierele cu 4 adăugiri și 2 ștergeri
  1. 4 2
      lambda_logs_refund.py

+ 4 - 2
lambda_logs_refund.py

@@ -4,8 +4,9 @@
 import requests
 import json
 
-user_id=123
 game_id=456
+user_id=123
+
 url = "http://onlyellow.cstor.cn:18888/launch_refund"
 
 server_logs = "[Server] 2020/06/16 09:52:56 Refund ID: 22f6f61f-d573-4eff-963a-708983317057"
@@ -35,8 +36,9 @@ def lambda_handler(event, context):
     
     #双引号(字符串类型),下面的json.dumps也有双引号,
     #int类型,下面的json.dumps没有双引号
-    user_id=123
     game_id=456
+    user_id=123
+
     url = "http://onlyellow.cstor.cn:18888/launch_refund"
     
     de_content = base64.b64decode(event['awslogs']['data'])