1234567891011121314151617181920212223242526272829303132333435363738 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="utf-8" />
- <meta http-equiv="pragma" content="no-cache">
- <meta http-equiv="cache-control" content="no-cache">
- <script type="text/javascript" src="cross/js/jquery/1.8.3/jquery.js"></script>
- <script type="text/javascript">
- localStorage.setItem('wlyyAgent', JSON.stringify({
- "uid" : "0de7295862dd11e69faffa163e8aee56",
- "doctorType" :2,
- "name" : "团队长",
- "token" : "aeb3b537040b8607d9b82308aabef313",
- "photo" : "../../../images/d-male.png",
- "id" :4798,
- "hospital":"3502110400",
- "userRole":[{"code":"350200","name":"厦门市卫生与计划生育委员会","areas":"350203"}]
-
- }));
-
- console.info(localStorage.wlyyAgent);
- if(localStorage.wlyyAgent!=null&&localStorage.wlyyAgent!=""){
- $.post("user/ssoLogin",{"param":localStorage.wlyyAgent}, function(data){
- console.info(data);
- if(data.Code==10000){
- window.location.replace(data.url);
- }else{
- $("#message").html(data.Message);
- }
- },'json');
- }
- </script>
- </head>
- <body>
- <div id="message"></div>
- </body>
- </html>
|