From 88f396a1c7bd6bd8f466d14ce14c9fa73f609408 Mon Sep 17 00:00:00 2001 From: shikong <919411476@qq.com> Date: Sat, 31 Aug 2024 17:49:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 993d16a..29f71c9 100644 --- a/main.py +++ b/main.py @@ -125,8 +125,8 @@ async def wechat_search_task(item: WechatSearchInput): tasks.wechat.click_search_btn(d) tasks.wechat.input_search_text(d, item.text) tasks.wechat.click_search_result(d) - tasks.wechat.input_chat_text(d, time.strftime("[AI] %Y-%m-%d %H:%M:%S", time.localtime())) tasks.wechat.get_last_chat_text(d) + tasks.wechat.input_chat_text(d, time.strftime("[AI] %Y-%m-%d %H:%M:%S", time.localtime())) if __name__ == '__main__': uvicorn.run('main:app', host='0.0.0.0', port=8000, reload=True)