| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="renderer" content="webkit">
- <meta http-equiv="Cache-Control" content="no-siteapp" />
- <title>安阳政务服务热线后台业务管理系统</title>
- <script src="./Script/Common/huayi.load.js"></script>
- <script src="./Script/Common/huayi.config.js"></script>
- <script src="./js/jquery.min.js"></script>
- <script src="./js/jquery.cookie.js"></script>
- </head>
- <body>
- <script>
- $(function(){
- ajax();
- })
- function ajax(){
- $.ajax({
- type:"get",
- // url:"http://k100.800100.net/SysConfig/GetConfig",
- url: huayi.config.callcenter_url + "Login/GetAuAuthDate",
- async:false,
- success:function(res){
- var res=$.parseJSON(res)
- if(res.state== "success") {
- debugger
- $.cookie("callcenter_url", escape(res.data.callcenter_url));
- $.cookie("indextime", res.data.indextime);
- $.cookie("menuworktime", res.data.menuworktime);
- $.cookie("messageTime", res.data.messageTime);
- $.cookie("socket_ip", res.data.socket_ip);
- $.cookie("socket_port", res.data.socket_port);
- // if ($.cookie("token") == null) {
- window.location.href = "login.html";
- // }else{
- // window.location.href = "home.html";
- // }
- } else {
- layer.confirm(res.message, {
- icon: 2,
- btn: ['确定']
- });
- }
- }
- });
- }
- </script>
- </body>
- </html>
|