index.html 885 B

123456789101112131415161718192021222324252627282930313233
  1. <!--
  2. * @Author: gcz saadmin@126.com
  3. * @Date: 2025-05-12 11:26:32
  4. * @LastEditors: gcz saadmin@126.com
  5. * @LastEditTime: 2025-05-21 17:22:57
  6. * @FilePath: \forest-traced-UI\index.html
  7. * @Description:
  8. *
  9. -->
  10. <!DOCTYPE html>
  11. <html>
  12. <head>
  13. <meta charset="utf-8" />
  14. <meta name="viewport" content="width=device-width, initial-scale=1">
  15. <title>林产品溯源管理系统</title>
  16. </head>
  17. <body>
  18. <script type="text/javascript">
  19. const urlParams = new URLSearchParams(window.location.search);
  20. // 获取xxl_sso_sessionid的值
  21. const sessionId = urlParams.get('xxl_sso_sessionid');
  22. // console.log('sessionId', sessionId);
  23. if (sessionId) {
  24. window.location.href = "login/index.html?ver=" + new Date().getTime() + '&xxl_sso_sessionid=' + sessionId;
  25. } else {
  26. window.location.href = "login/index.html?ver=" + new Date().getTime();
  27. }
  28. </script>
  29. </body>
  30. </html>