2
0

go_api_bbs_w_tabom.py 311 B

1234567891011
  1. from .tool.func import *
  2. async def api_bbs_w_tabom(sub_code = ''):
  3. other_set = {}
  4. other_set["sub_code"] = sub_code
  5. func_name = sys._getframe().f_code.co_name
  6. if flask.request.method == 'POST':
  7. func_name += '_post'
  8. return flask.jsonify(await python_to_golang(func_name, other_set))