mzx16822 6 년 전
부모
커밋
0f7776055d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      resources/views/home/user.blade.php

+ 1 - 1
resources/views/home/user.blade.php

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