esign_templates.py 311 B

1234567891011121314
  1. import requests
  2. from esign_config import Config
  3. config = Config()
  4. url = config.host+f'/v3/sign-templates?orgId={config.ordid}'
  5. print(url)
  6. def get_templates():
  7. """获取公司在e签宝下所有的模板"""
  8. res = requests.get(url, headers=config.headers)
  9. return res.json()
  10. print(get_templates())