go_api_func_ip.py 294 B

12345678
  1. from .tool.func import *
  2. async def api_func_ip(data = 'Test'):
  3. other_set = {}
  4. other_set["data"] = data
  5. other_set["ip"] = ip_check()
  6. return flask.Response(response = await python_to_golang(sys._getframe().f_code.co_name, other_set), status = 200, mimetype = 'application/json')