from .tool.func import * async def api_bbs_w_comment(sub_code = '', tool = "", legacy = 'on'): other_set = {} other_set["sub_code"] = sub_code other_set["tool"] = tool data = await python_to_golang(sys._getframe().f_code.co_name, other_set) if legacy == "on": return data["data"] else: return data async def api_bbs_w_comment_exter(sub_code = '', tool = "", legacy = 'on'): return flask.jsonify(await api_bbs_w_comment(sub_code, tool, legacy))