Esempio n. 1
0
def dislike(request):
    user = request.user
    sid = int(request.POST.get('sid'))
    flag = logic.dislike(user.id, sid)
    return render_json(data={'unmatch': flag})
Esempio n. 2
0
def dislike(request):
    '''不喜欢'''
    sid = int(request.POST.get('sid'))
    logic.dislike(request.user, sid)
    log.info(f'{request.user.id} dislike {sid}')
    return render_json(None)
Esempio n. 3
0
def dislike(request):
    '''不喜欢'''
    stranger_id = int(request.POST.get('stranger_id'))
    logic.dislike(stranger_id)
Esempio n. 4
0
def dislike(request):
    '''不喜欢'''
    sid = int(request.POST.get('sid'))
    logic.dislike(request.user, sid)
    return render_json(None)
Esempio n. 5
0
def dislike(request):
    '''不喜欢'''
    stranger_id = int(request.POST.get('stranger_id'))
    logic.dislike(stranger_id)
    return render_json()