<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <!-- 标签栏前面的VUE图标 -->
    <!-- <link rel="icon" href="<%= BASE_URL %>favicon.ico"> -->
    <title>ww</title>
    <script>
        // 定义一个变量然后截取发送请求时的session  比方说"http://www.shsfhb?session="634fg3456fdg45" "然后截取?session并返回形成一个数组
        var sessioncookie = window.location.href.split('?session=')
        if (sessioncookie[1]) {
            // 把session赋值给cookie(按自己公司的要求拼接字符串)
            document.cookie = 'GW_SESSION=' + sessioncookie[1] + ';path=/'
        }
    </script>
    <script src="<%=BASE_URL %>jquery.min.js"></script>
</head>
<body>
    <noscript>
        <strong>
            We're sorry but test doesn't work properly without JavaScript enabled. Please enable it to
            continue.
        </strong>
    </noscript>
    <div id="Ukey" style="width: 0;height:0;overflow:hidden">
        <form action="#" styleid="createPayBill" method="post"></form>
    </div>
    <div id="app"></div>
</body>
</html>

 

转载于:https://www.cnblogs.com/blueswithchenxing/p/11138949.html

Logo

前往低代码交流专区

更多推荐