go_api_list_history.py 467 B

123456789101112
  1. from .tool.func import *
  2. async def api_list_history(num = 1, set_type = 'normal', doc_name = 'Test'):
  3. other_set = {}
  4. other_set["num"] = str(num)
  5. other_set["doc_name"] = doc_name
  6. other_set["set_type"] = set_type
  7. return await python_to_golang(sys._getframe().f_code.co_name, other_set)
  8. async def api_list_history_exter(num = 1, set_type = 'normal', doc_name = 'Test'):
  9. return flask.jsonify(await api_list_history(num, set_type, doc_name))