@loginValid
def user_info(request):
    id = request.COOKIES.get('user_id')
    if id:
        user = LoginUser.objects.filter(id=id).first()
    return render(request, 'buyer/user_center_info.html', locals())
@loginValid
def user_info(request):
    id = request.COOKIES.get('user_id')
    if id:
        user = LoginUser.objects.filter(id=id).first()
    return render(request, 'buyer/user_center_info.html', locals())