go_api_bbs_w_comment_one.py 487 B

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