def dislike(request): user = request.user sid = int(request.POST.get('sid')) flag = logic.dislike(user.id, sid) return render_json(data={'unmatch': flag})
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)
def dislike(request): '''不喜欢''' stranger_id = int(request.POST.get('stranger_id')) logic.dislike(stranger_id)
def dislike(request): '''不喜欢''' sid = int(request.POST.get('sid')) logic.dislike(request.user, sid) return render_json(None)
def dislike(request): '''不喜欢''' stranger_id = int(request.POST.get('stranger_id')) logic.dislike(stranger_id) return render_json()