修改接口的地址前缀全部使用配置文件版本
This commit is contained in:
@@ -33,7 +33,7 @@ PolicyParamsOpertion
|
||||
... policyList: 必传,字典类型。字典内可选参数信息:
|
||||
... 其它参数默认值见../../03-Variable/PolicyObjectDefault.txt
|
||||
|
||||
[Arguments] ${returnData} ${policyList}
|
||||
[Arguments] ${returnData} ${policyList} ${opAction}
|
||||
${emptyList} Create List
|
||||
# 断言必传参数
|
||||
# Should Not Be Empty ${policyList}[policyType]
|
||||
@@ -79,7 +79,7 @@ PolicyParamsOpertion
|
||||
Run Keyword If "${policyType}"=="active_defence" Set To Dictionary ${policyList} referenceObject=${active_defence_emptyList}
|
||||
Run Keyword If "${policyType}"=="active_defence" Set To Dictionary ${policyList} appObjectIdArray=${active_defence_emptyList}
|
||||
# 转为json结构并返回
|
||||
${dict} Create Dictionary opAction=add returnData=${returnData} policyList=${policyList}
|
||||
${dict} Create Dictionary opAction=${opAction} returnData=${returnData} policyList=${policyList}
|
||||
${json} json.Dumps ${dict} ensure_ascii=False
|
||||
${json} Replace String ${json} "method:rst" ${userRegion}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user