go_api_w_xref.py 360 B

123456789
  1. from .tool.func import *
  2. async def api_w_xref(name = 'Test', page = 1, xref_type = '1'):
  3. other_set = {}
  4. other_set["name"] = name
  5. other_set["page"] = str(page)
  6. other_set["do_type"] = xref_type
  7. return flask.Response(response = (await python_to_golang(sys._getframe().f_code.co_name, other_set)), status = 200, mimetype = 'application/json')