temp commit, revise unfinished,重新调整获取聊天记录的API