@app.route('/member/logout', methods=['POST', 'GET'])
async def wiki_logout(request):
    if ((not request.ctx.session.get('id')) or (request.ctx.session.get('id') == 0)):
        return response.redirect('/')
    request.ctx.session['id'] = 0
    return response.redirect('/')
@app.route('/member/logout', methods=['POST', 'GET'])
async def wiki_logout(request):
    if ((not request.ctx.session.get('id')) or (request.ctx.session.get('id') == 0)):
        return response.redirect('/')
    request.ctx.session['id'] = 0
    return response.redirect('/')