Skip to content

Commit 028b912

Browse files
author
yangxueyi
committed
一键屏蔽url去掉BlockTime、RefreshOnUnblock请求参数
1 parent dd3f30c commit 028b912

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

examples/cdn.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1164,15 +1164,12 @@
11641164
Parameters:
11651165
BlockType Url[] 操作接口名,系统规定参数 取值:block:屏蔽URL;unblock:解除屏蔽;
11661166
Urls Url[] URL列表
1167-
BlockTime Long (仅在屏蔽URL动作时生效),屏蔽的时间,以秒为单位。默认为604800(7天),最大31天,最小1小时。过期后自动解除屏蔽。
1168-
RefreshOnUnblock String (仅在解除屏蔽时生效),解除屏蔽时,是否联动触发刷新任务 取值:on:触发刷新任务、off:不触发刷新任务 ,默认为off
11691167
其中url[]为:
11701168
Url String 需要提交屏蔽/解屏蔽的Url,单条
11711169
'''
11721170
# # json格式规则
11731171
# param = {
11741172
# "BlockType":"block",
1175-
# "BlockTime":3600,
11761173
# "Urls":[{"Url":"http://test2282.cdn.ksyun.com/abc.txt"},{"Url":"http://test2282.cdn.ksyun.com/ed.txt"}]
11771174
# }
11781175
#

0 commit comments

Comments
 (0)