go_api_user_rankup.py 267 B

12345678910
  1. from .tool.func import *
  2. async def api_user_rankup():
  3. other_set = {}
  4. func_name = sys._getframe().f_code.co_name
  5. if flask.request.method == 'PATCH':
  6. func_name += '_patch'
  7. return flask.jsonify(await python_to_golang(func_name, other_set))