Browse Source

修复“=”浏览器地址栏未编码导致传参不全的问题

xiaoyanpeng 6 years ago
parent
commit
ef06974cb2

+ 1 - 1
html/profile/html/index_0.html

@ -47,7 +47,7 @@
		var state = encodeURIComponent(JSON.stringify({
			itemIndex: 0,
			target: target,
			filter: "org_code=49229004X"
			filter: "org_code%3D49229004X"
		}))
		redirectUrl = profileServer+'/gateway/authentication/oauth/sso?response_type=token&client_id=P7dIRS0FvX&state='
						+state+'&scope=read&redirect_uri='+profileServer+'/profile/app/mprofile/html/signin.html?idCardNo='+idCard+'&user=tourists'

+ 1 - 1
html/profile/html/index_1.html

@ -47,7 +47,7 @@
		var state = encodeURIComponent(JSON.stringify({
			itemIndex: 1,
			target: target,
			filter: "org_code=49229004X"
			filter: "org_code%3D49229004X"
		}))
		redirectUrl = profileServer+'/gateway/authentication/oauth/sso?response_type=token&client_id=P7dIRS0FvX&state='
						+state+'&scope=read&redirect_uri='+profileServer+'/profile/app/mprofile/html/signin.html?idCardNo='+idCard+'&user=tourists'

+ 1 - 1
html/profile/html/index_2.html

@ -47,7 +47,7 @@
		var state = encodeURIComponent(JSON.stringify({
			itemIndex: 2,
			target: target,
			filter: "org_code=49229004X"
			filter: "org_code%3D49229004X"
		}))
		redirectUrl = profileServer+'/gateway/authentication/oauth/sso?response_type=token&client_id=P7dIRS0FvX&state='
						+state+'&scope=read&redirect_uri='+profileServer+'/profile/app/mprofile/html/signin.html?idCardNo='+idCard+'&user=tourists'