hub.py 425 B

1234567891011121314
  1. import sys
  2. import importlib
  3. sys.path.append('../sri-pysdk')
  4. methods = importlib.import_module(f"xlib")
  5. class Global(object):
  6. pb = importlib.import_module(f"protobuf.protocol_pb2")
  7. # --- 业务数据数据库 ---
  8. mdb = importlib.import_module(f"xclient.xmongo").Client(host='127.0.0.1', port=47017, database='bg',
  9. username='admin', password='admin')