调整公共方法适应修改策略
This commit is contained in:
@@ -117,7 +117,7 @@ AddPolicy2
|
||||
[Return] ${rescode} ${policyId}
|
||||
|
||||
EditPolicy
|
||||
[Arguments] ${policyList} ${returnData} ${opAction}
|
||||
[Arguments] ${returnData} ${policyList} ${opAction}
|
||||
|
||||
#add:表示新增
|
||||
#update:表示修改策略内容,包括策略名称,策略动作,策略动作参数,引用的策略文件,引用的策略对象等有修改时
|
||||
@@ -126,7 +126,7 @@ EditPolicy
|
||||
${body} PolicyParamsOpertion ${1} ${policyList} ${opAction}
|
||||
${response} BaseEditRequest /policy/compile ${body}
|
||||
${rescode} Set Variable ${response['code']}
|
||||
[Return] ${rescode} ${policyId} ${response}
|
||||
[Return] ${rescode} ${response}
|
||||
|
||||
DeletePolicybak
|
||||
[Arguments] ${policyids}
|
||||
|
||||
@@ -64,7 +64,7 @@ PolicyParamsOpertion
|
||||
... ELSE Evaluate list(map(int, re.split('[,]', '${appObjectIdArray}'))) re
|
||||
Set To Dictionary ${policyList} appObjectIdArray=${appObjectIdArrayV}
|
||||
# 固定值
|
||||
Set To Dictionary ${policyList} policyId= doBlacklist=${0}
|
||||
Set To Dictionary ${policyList} doBlacklist=${0}
|
||||
# 分别处理EffectiveRange、UserRegion和ReferenceObject参数
|
||||
ManageEffectiveRange ${policyList}
|
||||
#ManageUserRegion ${policyList}
|
||||
|
||||
Reference in New Issue
Block a user