sync.py 295 B

123456789101112131415
  1. # -*- coding: utf-8 -*-
  2. """
  3. demeter web
  4. name:admin.py
  5. author:rabin
  6. """
  7. from demeter.core import *
  8. param = {}
  9. param['table'] = 't'
  10. param['id'] = 'i'
  11. Demeter.getopt(param)
  12. table = Demeter.option['table']
  13. id = Demeter.option['id']
  14. Demeter.service('core', 'eros').sync(table, {'id':id})