Skip to content

Commit

Permalink
Update testFengzhuang.py
Browse files Browse the repository at this point in the history
  • Loading branch information
liwanlei authored Aug 9, 2017
1 parent 9787b1d commit e1abe8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Interface/testFengzhuang.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ def testapi(self):
response=reques.post(self.url,self.parem)
elif self.fangshi=="GET":
self.parem = {'key': self.key, 'info': self.connent}
response = reques.post(self.url, self.parem)
response = reques.get(self.url, self.parem)
return response
def getcode(self):
code=self.testapi()['code']
return code
def getJson(self):
json_data = self.testapi()
return json_data
return json_data

0 comments on commit e1abe8b

Please sign in to comment.