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

header头增加ip

上级 6e43f0fd
......@@ -14,6 +14,7 @@
<body>
<div id="app"></div>
<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>
</body>
<script>
......
......@@ -6,7 +6,8 @@ const httpRequest = axios.create({
timeout: 60000,
withCredentials: true,
headers: {
'Content-Type': 'application/json'
'Content-Type': 'application/json',
'spbill_create_ip': window.returnCitySN ? window.returnCitySN.cip : ''
}
})
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论