|
@@ -67,8 +67,8 @@ $(document).ready(function () {
|
|
|
//credential="JrDBOacSk3SETlnM+3PHk9TKKxl0stT5AAYziT4CRX28v2GV3Y0fng==";
|
|
|
//credential="<spring:eval expression="T(com.jsjty.sso.util.DesPasswordEncoder).encrypt('{username:\"shentz\",password:\"123456\"}','yjpt_gkj')" />";
|
|
|
//credential="<spring:eval expression="T(com.jsjty.sso.util.DesPasswordEncoder).encrypt('{username:\"shentz\"}','yjpt_gkj')" />";
|
|
|
- console.log("credential",credential);
|
|
|
- console.log("iscredential",$('#iscredential').val());
|
|
|
+ //console.log("credential",credential);
|
|
|
+ //console.log("iscredential",$('#iscredential').val());
|
|
|
if($('#iscredential').val()!='false'&&isNotBlank(credential)){
|
|
|
$.ajax({
|
|
|
type : 'post',
|
|
@@ -84,7 +84,7 @@ $(document).ready(function () {
|
|
|
if(data&&typeof(data)=='object'){
|
|
|
//alert(typeof(data));
|
|
|
//alert(JSON.stringify(data));
|
|
|
- console.log(data);
|
|
|
+ //console.log(data);
|
|
|
if(data.credentialDecrypt&&
|
|
|
isNotBlank(data.credentialDecrypt.username)&&isNotBlank(data.credentialDecrypt.password)){
|
|
|
|
|
@@ -97,7 +97,7 @@ $(document).ready(function () {
|
|
|
$('#credential').val("");
|
|
|
$("#frm1").submit();
|
|
|
}else{
|
|
|
- console.log("自动登录失败...");
|
|
|
+ //console.log("自动登录失败...");
|
|
|
}
|
|
|
|
|
|
}
|
|
@@ -154,7 +154,7 @@ $(document).ready(function () {
|
|
|
</form:form>
|
|
|
</div>
|
|
|
<footer> <img src="${basePath}/static/image/footer_img.png" />
|
|
|
- <p id="footer">Copyright 2015 江苏省新通智能交通科技发展有限公司版权所有</p>
|
|
|
+ <p id="footer">Copyright © 2015 江苏省新通智能交通科技发展有限公司</p>
|
|
|
|
|
|
</footer>
|
|
|
<script type="text/javascript">
|