完成适配器化改造,所有上报数据统一、接口调用等都改成通过不同消息源的适配器来完成,插件和消息源的耦合

This commit is contained in:
Richard Chien
2017-02-15 15:52:18 +08:00
parent ecd446f057
commit 3508db348d
17 changed files with 383 additions and 221 deletions

View File

@ -5,4 +5,19 @@ config = {
'command_name_separators': ('->', '::', '/'), # Regex
'command_args_start_flags': ('', '', ',', ', ', ':', ': '), # Regex
'command_args_separators': ('', ','), # Regex
'message_sources': [
{
'via': 'mojo_weixin',
'login_id': 'rcdevtest',
'superuser_id': 'richard_chien_0',
'api_url': 'http://127.0.0.1:5001/openwx',
},
{
'via': 'mojo_webqq',
'login_id': '3281334718',
'superuser_id': '1002647525',
'api_url': 'http://127.0.0.1:5000/openqq',
}
]
}