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

*)修改sdk冲突

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