Browse Source

Update ad_utils and holidays

fengzhoutian 1 month ago
parent
commit
c573d24dd3
2 changed files with 10 additions and 4 deletions
  1. 1 1
      ad/ad_utils.py
  2. 9 3
      ad/holidays.txt

+ 1 - 1
ad/ad_utils.py

@@ -3,7 +3,7 @@ from odps import ODPS
 import argparse
 
 ODPS_CONFIG = {
-    'ENDPOINT': 'http://service.cn.maxcompute.aliyun.com/api',
+    'ENDPOINT': 'http://service.cn-hangzhou-vpc.maxcompute.aliyun-inc.com/api',
     'ACCESSID': 'LTAIWYUujJAm7CbH',
     'ACCESSKEY': 'RfSjdiWwED1sGFlsjXv0DlfTnZTG1P',
 }

+ 9 - 3
ad/holidays.txt

@@ -33,8 +33,14 @@
 20250129
 2025-01-29
 元宵节
-20250215
-2025-02-15
+20250212
+2025-02-12
+20250228
+2025-02-28
+20250301
+2025-03-01
+20250304
+2025-03-04
 妇女节
 20250308
 2025-03-08
@@ -64,4 +70,4 @@
 2025-10-01
 中秋节
 20251006
-2025-10-06
+2025-10-06