From d852d65185869852e31355379cd40fb39edc1e8f Mon Sep 17 00:00:00 2001 From: xice Date: Tue, 5 Jun 2018 19:45:48 +0800 Subject: [PATCH] test it --- js/questionnaire.js | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) 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,