go_api_bbs_w_comment.py 442 B

123456789101112
  1. from .tool.func import *
  2. async def api_bbs_w_comment(sub_code = '', tool = "", legacy = 'on'):
  3. other_set = {}
  4. other_set["sub_code"] = sub_code
  5. other_set["tool"] = tool
  6. other_set["legacy"] = legacy
  7. return await python_to_golang(sys._getframe().f_code.co_name, other_set)
  8. async def api_bbs_w_comment_exter(sub_code = '', tool = "", legacy = 'on'):
  9. return flask.jsonify(await api_bbs_w_comment(sub_code, tool, legacy))