Commit 25c219b7 authored by maoying's avatar maoying

修改项目apk

parent f4ae93da
...@@ -66,8 +66,8 @@ export const downLoadFilePost = (url,searchParam)=>{ ...@@ -66,8 +66,8 @@ export const downLoadFilePost = (url,searchParam)=>{
'Content-Type': 'application/json; charset=utf-8', 'Content-Type': 'application/json; charset=utf-8',
'X-Api-Key': _amosTool.Store.getCookieByName(apiKey), 'X-Api-Key': _amosTool.Store.getCookieByName(apiKey),
'X-Access-Token': ls.read(token), 'X-Access-Token': ls.read(token),
'appKey': 'CONVERTER_STATION', 'appKey': window.appKey,
'product': 'CONVERTER_STATION_WEB', 'product': window.product,
'token':ls.read(token) 'token':ls.read(token)
}, },
body: JSON.stringify(searchParam) body: JSON.stringify(searchParam)
......
...@@ -14,8 +14,8 @@ const defaultPageable = { ...@@ -14,8 +14,8 @@ const defaultPageable = {
}; };
const defaultHeaders = { const defaultHeaders = {
appKey: 'CONVERTER_STATION', appKey: window.appKey ,
product: 'CONVERTER_STATION_WEB', product: window.product,
channelType: '3dpage' channelType: '3dpage'
}; };
......
...@@ -293,8 +293,8 @@ class Equipment extends Component { ...@@ -293,8 +293,8 @@ class Equipment extends Component {
'Accept': 'application/json;charset=UTF-8', 'Accept': 'application/json;charset=UTF-8',
'X-Api-Key': _amosTool.Store.getCookieByName(apiKey), 'X-Api-Key': _amosTool.Store.getCookieByName(apiKey),
'X-Access-Token': ls.read(token), 'X-Access-Token': ls.read(token),
'appKey': 'CONVERTER_STATION', 'appKey': window.appKey ,
'product': 'CONVERTER_STATION_WEB', 'product': window.product,
'token':ls.read(token) 'token':ls.read(token)
}, },
body: formData body: formData
......
...@@ -69,9 +69,9 @@ class FireEquipmentToolBar extends Component { ...@@ -69,9 +69,9 @@ class FireEquipmentToolBar extends Component {
showUploadList: false , showUploadList: false ,
headers: { headers: {
'Accept': 'application/json;charset=UTF-8', 'Accept': 'application/json;charset=UTF-8',
'X-Access-Token': lsTool.read(SysConsts.token), 'X-Access-Token': lsTool.read(SysConsts.token),
'appKey': 'CONVERTER_STATION', 'appKey': window.appKey ,
'product': 'CONVERTER_STATION_WEB', 'product': window.product,
'token':lsTool.read(SysConsts.token) 'token':lsTool.read(SysConsts.token)
}, },
onChange(info) { onChange(info) {
......
...@@ -66,8 +66,8 @@ class PointToolBar extends Component { ...@@ -66,8 +66,8 @@ class PointToolBar extends Component {
headers: { headers: {
'Accept': 'application/json;charset=UTF-8', 'Accept': 'application/json;charset=UTF-8',
'X-Access-Token': lsTool.read(SysConsts.token), 'X-Access-Token': lsTool.read(SysConsts.token),
'appKey': 'CONVERTER_STATION', 'appKey': window.appKey ,
'product': 'CONVERTER_STATION_WEB', 'product': window.product,
'token':lsTool.read(SysConsts.token) 'token':lsTool.read(SysConsts.token)
}, },
onChange(info) { onChange(info) {
......
...@@ -208,9 +208,9 @@ class FireTruckDetailInfo extends Component { ...@@ -208,9 +208,9 @@ class FireTruckDetailInfo extends Component {
headers: { headers: {
Accept: 'application/json;charset=UTF-8', Accept: 'application/json;charset=UTF-8',
'X-Api-Key': _amosTool.Store.getCookieByName(apiKey), 'X-Api-Key': _amosTool.Store.getCookieByName(apiKey),
'X-Access-Token': ls.read(token), 'X-Access-Token': ls.read(token),
'appKey': 'CONVERTER_STATION', 'appKey': window.appKey ,
'product': 'CONVERTER_STATION_WEB', 'product': window.product,
'token':ls.read(token) 'token':ls.read(token)
}, },
body: formData body: formData
......
...@@ -49,9 +49,9 @@ class FireWaterToolBar extends Component { ...@@ -49,9 +49,9 @@ class FireWaterToolBar extends Component {
showUploadList: false , showUploadList: false ,
headers: { headers: {
'Accept': 'application/json;charset=UTF-8', 'Accept': 'application/json;charset=UTF-8',
'X-Access-Token': lsTool.read(SysConsts.token), 'X-Access-Token': lsTool.read(SysConsts.token),
'appKey': 'CONVERTER_STATION', 'appKey': window.appKey ,
'product': 'CONVERTER_STATION_WEB', 'product': window.product,
'token':lsTool.read(SysConsts.token) 'token':lsTool.read(SysConsts.token)
}, },
onChange(info) { onChange(info) {
......
...@@ -286,9 +286,9 @@ class Monitor extends Component { ...@@ -286,9 +286,9 @@ class Monitor extends Component {
showUploadList: false , showUploadList: false ,
headers: { headers: {
'Accept': 'application/json;charset=UTF-8', 'Accept': 'application/json;charset=UTF-8',
'X-Access-Token': lsTool.read(SysConsts.token), 'X-Access-Token': lsTool.read(SysConsts.token),
'appKey': 'CONVERTER_STATION', 'appKey': window.appKey ,
'product': 'CONVERTER_STATION_WEB', 'product': window.product,
'token':lsTool.read(SysConsts.token) 'token':lsTool.read(SysConsts.token)
}, },
onChange(info) { onChange(info) {
......
...@@ -392,9 +392,9 @@ class FireRectification extends Component { ...@@ -392,9 +392,9 @@ class FireRectification extends Component {
headers: { headers: {
Accept: 'application/json;charset=UTF-8', Accept: 'application/json;charset=UTF-8',
'X-Api-Key': _amosTool.Store.getCookieByName(apiKey), 'X-Api-Key': _amosTool.Store.getCookieByName(apiKey),
'X-Access-Token': ls.read(token), 'X-Access-Token': ls.read(token),
'appKey': 'CONVERTER_STATION', 'appKey': window.appKey ,
'product': 'CONVERTER_STATION_WEB', 'product': window.product,
'token': ls.read(token) 'token': ls.read(token)
}, },
body: formData body: formData
......
...@@ -76,9 +76,9 @@ class CusVizLib extends Component { ...@@ -76,9 +76,9 @@ class CusVizLib extends Component {
headers: { headers: {
'Accept': 'application/json;charset=UTF-8', 'Accept': 'application/json;charset=UTF-8',
'X-Api-Key': _amosTool.Store.getCookieByName(apiKey), 'X-Api-Key': _amosTool.Store.getCookieByName(apiKey),
'X-Access-Token': ls.read(token), 'X-Access-Token': ls.read(token),
'appKey': 'CONVERTER_STATION', 'appKey': window.appKey ,
'product': 'CONVERTER_STATION_WEB', 'product': window.product,
'token':ls.read(token) 'token':ls.read(token)
}, },
body: formData body: formData
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment