Example #1
0
def dislike(request):
    '''不喜欢 (左滑)'''
    sid = int(request.POST.get('sid', 0))
    logics.dislike_someone(request.uid, sid)
    inflog.debug(f'User({request.uid}) dislike User({sid})')
    return render_json()
Example #2
0
def dislike(request):
    '''不喜欢(左滑)'''
    sid = int(request.POST.get('sid'))
    logics.dislike_someone(request.uid, sid)
    return render_json()
Example #3
0
def dislike(request):
    '''不喜欢(上滑)'''
    sid = request.Post.get('sid', 0)
    logics.dislike_someone(request.uid, sid)
    inflog.debug(f'User({request.uid} dislike User{sid}')
    return render_json()
Example #4
0
def dislike(request):
    '''左滑不喜欢'''
    sid = int(request.POST.get('sid'))
    logics.dislike_someone(request.user, sid)
    logics.set_score(sid, 'dislike')
    return render_json()
Example #5
0
def dislike(request):
    """不喜欢某人接口"""
    sid = int(request.POST.get('sid'))
    logics.dislike_someone(request.uid, sid)
    return render_json()
Example #6
0
def dislike(request):
    '''不喜欢'''
    sid = int(request.POST.get('sid'))
    # 对用户进行匹配
    logics.dislike_someone(request.uid, sid)
    return render_json(data=None)
Example #7
0
def dislike(request):
    '''左滑-不喜欢'''
    sid = int(request.POST.get('sid'))
    logics.dislike_someone(request.user, sid)
    return render_json()