This commit is contained in:
shikong 2024-08-31 17:49:04 +08:00
parent 0bdf5ac51b
commit 88f396a1c7
Signed by: Shikong
GPG Key ID: BD85FF18B373C341

View File

@ -125,8 +125,8 @@ async def wechat_search_task(item: WechatSearchInput):
tasks.wechat.click_search_btn(d) tasks.wechat.click_search_btn(d)
tasks.wechat.input_search_text(d, item.text) tasks.wechat.input_search_text(d, item.text)
tasks.wechat.click_search_result(d) 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.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__': if __name__ == '__main__':
uvicorn.run('main:app', host='0.0.0.0', port=8000, reload=True) uvicorn.run('main:app', host='0.0.0.0', port=8000, reload=True)