THA: Added Americano promotion & extend Taiwanese promotion

This commit is contained in:
Kenta420 2025-06-17 18:09:03 +07:00
parent 3215a5d61f
commit 6a2a3c9158
124 changed files with 48313 additions and 840 deletions

View file

@ -10,7 +10,7 @@ if "v3" in param and "promotion" in param and "other_catalog" in param:
all_active_pro = ""
files = os.listdir(directory_to_process + "/event/event_v3/catalog_other")
files = [f for f in files if f.endswith(".json")]
files = [f for f in files if f.endswith(".json")].reverse()
for filename in files:
pro_json_file = open(directory_to_process + "/event/event_v3/catalog_other/"+ filename)
pro_json = json.load(pro_json_file)

View file

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