补充提交

This commit is contained in:
dongxiaoyan
2020-04-07 12:51:52 +08:00
parent a8db6e3b74
commit c2c9f609b8
11 changed files with 215 additions and 20 deletions

View File

@@ -6,15 +6,16 @@ Library RequestsLibrary
*** Keywords ***
BasePostRequest
[Arguments] ${apistr} ${body}
[Arguments] ${apistr} ${body}
Set Headers {"Authorization":"${token}","Content-Type":"application/json"}
&{httpResponse} Post ${apistr} ${body}
Output response body
&{httpResponse} Post ${apistr} ${body}
#Output response body
Object response body
#Integer $.code 200
#Array $.data.policyList
${response} Set Variable ${httpResponse.body}
[Return] ${response}
BaseDeleteRequest
[Arguments] ${requestUri} ${data}
${headers} set variable {"Authorization":"${token}","Content-Type":"application/json"}