go_api_bbs_w.py 341 B

123456789
  1. from .tool.func import *
  2. def api_bbs_w(sub_code = '', legacy = 'on'):
  3. other_set = {}
  4. other_set['ip'] = ip_check()
  5. other_set["legacy"] = legacy
  6. other_set['sub_code'] = sub_code
  7. return flask.Response(response = python_to_golang_sync(sys._getframe().f_code.co_name, other_set), status = 200, mimetype = 'application/json')