完成房间信息和头像接口

This commit is contained in:
John Smith
2020-09-13 21:24:20 +08:00
parent 6a64f3c795
commit 6e2f3b1a0c
6 changed files with 130 additions and 9 deletions

View File

@@ -26,6 +26,8 @@ LOG_FILE_NAME = os.path.join(BASE_PATH, 'log', 'blivechat.log')
routes = [
(r'/api/server_info', api.main.ServerInfoHandler),
(r'/api/chat', api.chat.ChatHandler),
(r'/api/room_info', api.chat.RoomInfoHandler),
(r'/api/avatar_url', api.chat.AvatarHandler),
# TODO 兼容旧版,下版本移除
(r'/server_info', api.main.ServerInfoHandler),