|
@@ -150,7 +150,7 @@ layui.use(['form','jquery'], function(){
|
|
break;
|
|
break;
|
|
case 'answer':
|
|
case 'answer':
|
|
console.log(data);
|
|
console.log(data);
|
|
- if(data.uid == $("#uid").val()){
|
|
|
|
|
|
+ if(data.user_id == $("#uid").val()){
|
|
var score = parseInt($("#py1_score").html());
|
|
var score = parseInt($("#py1_score").html());
|
|
if(data.is_true == 1){
|
|
if(data.is_true == 1){
|
|
$("#py1_score").html(score+1);
|
|
$("#py1_score").html(score+1);
|