Commit e2bc2520 authored by 高东东's avatar 高东东

*)修改sdk冲突

parent c5cee695
...@@ -34,8 +34,8 @@ const plugView = { ...@@ -34,8 +34,8 @@ const plugView = {
export const initPluginsConfig = ({ export const initPluginsConfig = ({
staticHeader staticHeader
}) => { }) => {
window.isPluginsToAmos = true; window.isIotPluginsToAmos = true;
window.requestInfo = { window.iotRequestInfo = {
staticHeader staticHeader
}; };
}; };
......
...@@ -9,7 +9,7 @@ import sysConsts from 'amos-processor/lib/config'; ...@@ -9,7 +9,7 @@ import sysConsts from 'amos-processor/lib/config';
const lsTool = Store.lsTool; const lsTool = Store.lsTool;
const defaultHeaders = () => { const defaultHeaders = () => {
return window.isPluginsToAmos ? window.requestInfo.staticHeader : { return window.isIotPluginsToAmos ? window.iotRequestInfo.staticHeader : {
appKey: 'AMOS_IOT', appKey: 'AMOS_IOT',
product: 'AMOS_IOT_WEB' product: 'AMOS_IOT_WEB'
}; };
......
...@@ -7,7 +7,7 @@ import payload from './payload'; ...@@ -7,7 +7,7 @@ import payload from './payload';
const lsTool = Store.lsTool; const lsTool = Store.lsTool;
const defaultHeaders = () => { const defaultHeaders = () => {
return window.isPluginsToAmos ? window.requestInfo.staticHeader : { return window.isIotPluginsToAmos ? window.iotRequestInfo.staticHeader : {
appKey: 'AMOS_IOT', appKey: 'AMOS_IOT',
product: 'AMOS_IOT_WEB' product: 'AMOS_IOT_WEB'
}; };
......
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