提交 b2710f96 authored 作者: pengxiaohui's avatar pengxiaohui

header头增加ip

上级 6e43f0fd
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
<body> <body>
<div id="app"></div> <div id="app"></div>
<script src="https://res2.wx.qq.com/open/js/jweixin-1.6.0.js"></script> <script src="https://res2.wx.qq.com/open/js/jweixin-1.6.0.js"></script>
<script src="https://pv.sohu.com/cityjson"></script>
<script type="text/javascript" src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/static/common/runtime.js"></script> <script type="text/javascript" src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/static/common/runtime.js"></script>
</body> </body>
<script> <script>
......
...@@ -6,7 +6,8 @@ const httpRequest = axios.create({ ...@@ -6,7 +6,8 @@ const httpRequest = axios.create({
timeout: 60000, timeout: 60000,
withCredentials: true, withCredentials: true,
headers: { headers: {
'Content-Type': 'application/json' 'Content-Type': 'application/json',
'spbill_create_ip': window.returnCitySN ? window.returnCitySN.cip : ''
} }
}) })
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论