md_blueprint.py 文件源码

python
阅读 18 收藏 0 点赞 0 评论 0

项目:owllook 作者: howie6879 项目源码 文件源码
def index(request):
    user = request['session'].get('user', None)
    novels_head = ['#', '???', '????']
    first_type_title = "????"
    first_type = []
    search_ranking = await cache_owllook_search_ranking()
    if user:
        return template('index.html', title='owllook', is_login=1, user=user, search_ranking=search_ranking,
                        first_type=first_type, first_type_title=first_type_title, novels_head=novels_head, is_owl=1)
    else:
        return template('index.html', title='owllook', is_login=0, search_ranking=search_ranking, first_type=first_type,
                        first_type_title=first_type_title, novels_head=novels_head, is_owl=1)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号