AUS: Update promotion

This commit is contained in:
Kenta420 2025-06-30 15:09:36 +07:00
parent 6f9f3acacd
commit 766cf35c28
6 changed files with 2294 additions and 2273 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 30 KiB

Before After
Before After

File diff suppressed because it is too large Load diff

View file

@ -11,7 +11,7 @@ if "v3" in param and "promotion" in param and "other_catalog" in param:
files = os.listdir(directory_to_process + "/event/event_v3/catalog_other")
files = [f for f in files if f.endswith(".json")]
for filename in files:
for filename in reversed(files):
pro_json_file = open(directory_to_process + "/event/event_v3/catalog_other/"+ filename)
pro_json = json.load(pro_json_file)
start_time = datetime.datetime.strptime(pro_json["start"], "%Y-%m-%dT%H:%M:%S")
@ -42,7 +42,7 @@ if "v3" in param and "promotion" in param:
files = os.listdir(directory_to_process + "/event/event_v3")
files = [f for f in files if f.endswith(".json")]
files.sort()
for filename in files:
for filename in reversed(files):
pro_json_file = open(directory_to_process + "/event/event_v3/"+ filename)
pro_json = json.load(pro_json_file)
start_time = datetime.datetime.strptime(pro_json["start"], "%Y-%m-%dT%H:%M:%S")

View file

@ -0,0 +1,9 @@
{
"start": "2025-07-01T00:00:00",
"end": "2025-07-31T00:00:00",
"state": "HugInACupProState",
"type": "IMAGE",
"media_thai": "ROOT/taobin_project/inter/aus/image/event/hug_in_a_cup_banner.png",
"media_eng": "ROOT/taobin_project/inter/aus/image/event/hug_in_a_cup_banner.png",
"event_click": "TabMenuVisibleInst 99\r\nOpenInst 2 \"ROOT/taobin_project/inter/tha/xml/multi/v3/page_catalog_group_pro_oreo_volcano.lxml\""
}

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff