2
0

go_api_func_auth.py 335 B

12345678910
  1. from .tool.func import *
  2. async def api_func_auth(user_name = ''):
  3. other_set = {}
  4. other_set["ip"] = ip_check() if user_name == '' else user_name
  5. return await python_to_golang(sys._getframe().f_code.co_name, other_set)
  6. async def api_func_auth_exter(user_name = ''):
  7. return flask.jsonify(await api_func_auth(user_name))