test.py 720 B

1234567891011121314151617181920212223242526
  1. import requests
  2. # url = "http://127.0.0.1:8001/api/store/get_esign_templates"
  3. # url = "http://120.26.186.130:33333/api/store/get_esign_templates"
  4. # body = {
  5. # "store_id": 999,
  6. # "store_name": "爱丽恩严(大连)商务科技有限公司深圳分公司",
  7. # "business_segment": "生活服务",
  8. # "merchant_name": "彭少荣",
  9. # "contact_phone": "13923864580",
  10. # "ord_id": "91440300MADDW7XC4C"
  11. # }
  12. # res = requests.post(url, json=body)
  13. # print(res.text)
  14. url = "http://127.0.0.1:8001/api/store/contracts/400"
  15. resp = requests.get(url)
  16. print(resp.text)
  17. # url = "http://127.0.0.1:8001/api/store/contracts/detail/c2259cb97f3f4066b7bca57a62e3843a"
  18. # resp = requests.get(url)
  19. # print(resp.text)