调整内容
This commit is contained in:
@@ -16,10 +16,10 @@ class MessageUtil:
|
||||
"""
|
||||
|
||||
# 修改 MessageUtil 类的初始化方法,接受联系人管理器而不是联系人字典
|
||||
def __init__(self, app_id: str, base_url: str, client: GewechatClient, contact_manager: ContactManager):
|
||||
def __init__(self, app_id: str, client: GewechatClient):
|
||||
self.app_id = app_id
|
||||
self.client = client
|
||||
self.contact_manager = contact_manager
|
||||
self.contact_manager = ContactManager.get_instance()
|
||||
self.LOG = logging.getLogger("MessageUtil")
|
||||
|
||||
def send_text(self, msg: str, receiver: str, at_list: str = "") -> None:
|
||||
|
||||
Reference in New Issue
Block a user