tmp.py 421 B

12345678910111213141516171819
  1. import datetime
  2. import requests
  3. import ssl
  4. ssl._create_default_https_context = ssl._create_unverified_context
  5. requests.post("https://api.tianyunperfect.cn/web_history/location_history", json={
  6. "location_str": "tset",
  7. "location_xy": "test",
  8. "msg": "test",
  9. "create_time": "2022-10-01 1:1:1",
  10. "update_time": "2022-10-01 1:1:1",
  11. })
  12. def exec(obj):
  13. obj['jicha_person_180days'] = 777
  14. return obj