diff --git a/js/questionnaire.js b/js/questionnaire.js index 4104064..2a45c0d 100644 --- a/js/questionnaire.js +++ b/js/questionnaire.js @@ -241,13 +241,11 @@ $(document).ready(function() { function showResponse(responseText) { clearT[0] = 0; alert(responseText); - - - - - - window.location.href = "https://wall.kaionji.com/wj/anser.php"; - + if(responseText != "提交成功。谢谢参与我们的活动,请继续关注我们公众号bupt_stu的后续推送。现在你可以直接关闭页面了。"){ + window.location.href = "https://mp.weixin.qq.com/mp/profile_ext?action=home&__biz=MjM5NzY1MjYyMg==&scene=124#wechat_redirect"; + }else{ + window.location.href = "https://wall.kaionji.com/wj/anser.php"; + } } var options = { beforeSubmit: showRequest,