|
@@ -283,10 +283,7 @@ layui.use(['form','jquery'], function(){
|
|
|
//获取题目
|
|
|
var getQuestion = function getQuestion(room_id, index) {
|
|
|
var url = '/Home/Game/Question';
|
|
|
- $.get(url, {room_id:room_id, cur_question:index},ajaxError:function(){
|
|
|
- clearInterval(ts)
|
|
|
- layer.msg("服务器繁忙!");
|
|
|
- }, function(responsedata){
|
|
|
+ $.get(url, {room_id:room_id, cur_question:index}, function(responsedata){
|
|
|
if(responsedata.code == 0){
|
|
|
question_id= responsedata.info.question.question_id;
|
|
|
$("#Jqtitle").html(responsedata.info.question.title );
|