Browse Source

解决注册成功后跳转页面报999的错误。注册时openid写死

raolu 6 years ago
parent
commit
99b2fb98ab
1 changed files with 3 additions and 3 deletions
  1. 3 3
      html/home/html/regist-info.html

+ 3 - 3
html/home/html/regist-info.html

@ -206,7 +206,7 @@
<script src="../../../js/security.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript" src="../../../js/mui.min.js" ></script>
<script type="text/javascript">
	var dd = dialog({contentType:'load', skin:'bk-popup', content:'校验中...'});
	var dd = dialog({contentType:'load', skin:'bk-popup', content:'请求发送中...'});
	var Request = new Object();
	Request = GetRequest();
	var openid = Request["openid"];
@ -388,7 +388,7 @@
		data.mobile = mobile;
		data.ssc = ssc;
		data.captcha = captcha;
		data.openid = '123456';
		data.openid = openid;
		data.name = name;
		sendPost("weixin/regist", data, "json", "post", operateFailed, operateSuccesss);
	}
@ -420,7 +420,7 @@
			window.localStorage.setItem("firstUid", uid);
			window.localStorage.removeItem("firstName");
			window.localStorage.setItem("firstName", name);
			window.location.href = pageUrl[type];
			window.location.href = "../../grzx/html/my-detail.html";
			dd.close();
		} else {
			//非200则为失败