。
This commit is contained in:
@@ -8,23 +8,23 @@
|
||||
/>
|
||||
<title>宁波房屋征收</title>
|
||||
<script>
|
||||
// function getQueryString(name) {
|
||||
// var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
|
||||
// var r = window.location.search.substr(1).match(reg);
|
||||
// if (r != null) return unescape(r[2]); return null;
|
||||
// }
|
||||
// //debugger
|
||||
// var ticket = getQueryString('ticket');
|
||||
// console.log('1201-ticket' + ticket)
|
||||
// if (ticket)
|
||||
// window.sessionStorage.setItem('ticket', ticket)
|
||||
// else {
|
||||
// if (window.sessionStorage.getItem('ticket') == null) {
|
||||
// setTimeout(function () { window.close() }, 10);
|
||||
// //window.open('https://puser.zjzwfw.gov.cn/sso/mobile.do?action=oauth&scope=1&servicecode=fwzs')
|
||||
// location.replace('https://puser.zjzwfw.gov.cn/sso/mobile.do?action=oauth&scope=1&servicecode=fwzs')
|
||||
// }
|
||||
// }
|
||||
function getQueryString(name) {
|
||||
var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
|
||||
var r = window.location.search.substr(1).match(reg);
|
||||
if (r != null) return unescape(r[2]); return null;
|
||||
}
|
||||
//debugger
|
||||
var ticket = getQueryString('ticket');
|
||||
console.log('1201-ticket' + ticket)
|
||||
if (ticket)
|
||||
window.sessionStorage.setItem('ticket', ticket)
|
||||
else {
|
||||
if (window.sessionStorage.getItem('ticket') == null) {
|
||||
setTimeout(function () { window.close() }, 10);
|
||||
//window.open('https://puser.zjzwfw.gov.cn/sso/mobile.do?action=oauth&scope=1&servicecode=fwzs')
|
||||
location.replace('https://puser.zjzwfw.gov.cn/sso/mobile.do?action=oauth&scope=1&servicecode=fwzs')
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<script
|
||||
type="text/javascript"
|
||||
|
||||
Reference in New Issue
Block a user