Commit 763034dd authored by 高东东's avatar 高东东

*)插件sdk冲突

parent e2bc2520
...@@ -39,7 +39,7 @@ var plugView = { ...@@ -39,7 +39,7 @@ var plugView = {
}, },
initPluginsConfig = function(e) { initPluginsConfig = function(e) {
e = e.staticHeader; e = e.staticHeader;
window.isPluginsToAmos = !0, window.requestInfo = { window.isIotPluginsToAmos = !0, window.iotRequestInfo = {
staticHeader: e staticHeader: e
} }
}; };
......
...@@ -73,7 +73,7 @@ function _defineProperty(e, t, r) { ...@@ -73,7 +73,7 @@ function _defineProperty(e, t, r) {
} }
var lsTool = _amosTool.Store.lsTool, var lsTool = _amosTool.Store.lsTool,
defaultHeaders = function() { defaultHeaders = function() {
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"
} }
......
...@@ -43,7 +43,7 @@ function _defineProperty(e, o, r) { ...@@ -43,7 +43,7 @@ function _defineProperty(e, o, r) {
} }
var lsTool = _amosTool.Store.lsTool, var lsTool = _amosTool.Store.lsTool,
defaultHeaders = function() { defaultHeaders = function() {
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