oak 4 месяцев назад
Родитель
Сommit
99a4077300

+ 1 - 1
genjson/gen_json_builders_list_data.py

@@ -75,7 +75,7 @@ print(d)
 with open('../builder/lists/json/builders_lists_data.json','w+',encoding="utf-8") as f:
     json.dump(d, f)
 
-cmd="""curl -X POST "https://api.cloudflare.com/client/v4/zones/8cb58022ad5743cfd9f088d5e3a261eb/purge_cache" -H "X-Auth-Email: web.dept.hhh@gmail.com"  -H "X-Auth-Key:63e51d9a1638d66afcbfc3320aabec52304de" -H "Content-Type: application/json" --data '{"files":["https://hhh.com.tw/hhh-test/json/builders_lists_data.json"]}'"""
+cmd="""curl -X POST "https://api.cloudflare.com/client/v4/zones/8cb58022ad5743cfd9f088d5e3a261eb/purge_cache" -H "X-Auth-Email: web.dept.hhh@gmail.com"  -H "X-Auth-Key:63e51d9a1638d66afcbfc3320aabec52304de" -H "Content-Type: application/json" --data '{"files":["https://hhh.com.tw/hhh-test/builder/lists/json/builders_lists_data.json"]}'"""
 print(cmd)
 os.system(cmd)
     #if str(j)=='5':

+ 1 - 1
genjson/gen_json_cases_list_data.py

@@ -75,7 +75,7 @@ print(d)
 with open('../cases/lists/json/cases_lists_data.json','w+',encoding="utf-8") as f:
     json.dump(d, f)
 
-cmd="""curl -X POST "https://api.cloudflare.com/client/v4/zones/8cb58022ad5743cfd9f088d5e3a261eb/purge_cache" -H "X-Auth-Email: web.dept.hhh@gmail.com"  -H "X-Auth-Key:63e51d9a1638d66afcbfc3320aabec52304de" -H "Content-Type: application/json" --data '{"files":["https://hhh.com.tw/hhh-test/json/cases_lists_data.json"]}'"""
+cmd="""curl -X POST "https://api.cloudflare.com/client/v4/zones/8cb58022ad5743cfd9f088d5e3a261eb/purge_cache" -H "X-Auth-Email: web.dept.hhh@gmail.com"  -H "X-Auth-Key:63e51d9a1638d66afcbfc3320aabec52304de" -H "Content-Type: application/json" --data '{"files":["https://hhh.com.tw/hhh-test/cases/lists/json/cases_lists_data.json"]}'"""
 print(cmd)
 os.system(cmd)
     #if str(j)=='5':

+ 1 - 1
genjson/gen_json_columns_list_data.py

@@ -75,7 +75,7 @@ print(d)
 with open('../columns/lists/json/columns_lists_data.json','w+',encoding="utf-8") as f:
     json.dump(d, f)
 
-cmd="""curl -X POST "https://api.cloudflare.com/client/v4/zones/8cb58022ad5743cfd9f088d5e3a261eb/purge_cache" -H "X-Auth-Email: web.dept.hhh@gmail.com"  -H "X-Auth-Key:63e51d9a1638d66afcbfc3320aabec52304de" -H "Content-Type: application/json" --data '{"files":["https://hhh.com.tw/hhh-test/json/columns_lists_data.json"]}'"""
+cmd="""curl -X POST "https://api.cloudflare.com/client/v4/zones/8cb58022ad5743cfd9f088d5e3a261eb/purge_cache" -H "X-Auth-Email: web.dept.hhh@gmail.com"  -H "X-Auth-Key:63e51d9a1638d66afcbfc3320aabec52304de" -H "Content-Type: application/json" --data '{"files":["https://hhh.com.tw/hhh-test/columns/lists/json/columns_lists_data.json"]}'"""
 print(cmd)
 os.system(cmd)
     #if str(j)=='5':

+ 1 - 1
genjson/gen_json_designers_list_data.py

@@ -75,7 +75,7 @@ print(d)
 with open('../designers/lists/json/designers_lists_data.json','w+',encoding="utf-8") as f:
     json.dump(d, f)
 
-cmd="""curl -X POST "https://api.cloudflare.com/client/v4/zones/8cb58022ad5743cfd9f088d5e3a261eb/purge_cache" -H "X-Auth-Email: web.dept.hhh@gmail.com"  -H "X-Auth-Key:63e51d9a1638d66afcbfc3320aabec52304de" -H "Content-Type: application/json" --data '{"files":["https://hhh.com.tw/hhh-test/json/designers_lists_data.json"]}'"""
+cmd="""curl -X POST "https://api.cloudflare.com/client/v4/zones/8cb58022ad5743cfd9f088d5e3a261eb/purge_cache" -H "X-Auth-Email: web.dept.hhh@gmail.com"  -H "X-Auth-Key:63e51d9a1638d66afcbfc3320aabec52304de" -H "Content-Type: application/json" --data '{"files":["https://hhh.com.tw/hhh-test/designers/lists/json/designers_lists_data.json"]}'"""
 print(cmd)
 os.system(cmd)
     #if str(j)=='5':

+ 1 - 1
genjson/gen_json_videos_list_data.py

@@ -75,7 +75,7 @@ print(d)
 with open('../videos/lists/json/videos_lists_data.json','w+',encoding="utf-8") as f:
     json.dump(d, f)
 
-cmd="""curl -X POST "https://api.cloudflare.com/client/v4/zones/8cb58022ad5743cfd9f088d5e3a261eb/purge_cache" -H "X-Auth-Email: web.dept.hhh@gmail.com"  -H "X-Auth-Key:63e51d9a1638d66afcbfc3320aabec52304de" -H "Content-Type: application/json" --data '{"files":["https://hhh.com.tw/hhh-test/json/videos_lists_data.json"]}'"""
+cmd="""curl -X POST "https://api.cloudflare.com/client/v4/zones/8cb58022ad5743cfd9f088d5e3a261eb/purge_cache" -H "X-Auth-Email: web.dept.hhh@gmail.com"  -H "X-Auth-Key:63e51d9a1638d66afcbfc3320aabec52304de" -H "Content-Type: application/json" --data '{"files":["https://hhh.com.tw/hhh-test/videos/lists/json/videos_lists_data.json"]}'"""
 print(cmd)
 os.system(cmd)
     #if str(j)=='5':