Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YeeAMOSIotView
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
iot
YeeAMOSIotView
Commits
e2bc2520
Commit
e2bc2520
authored
Nov 25, 2020
by
高东东
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*)修改sdk冲突
parent
c5cee695
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
index.js
src/index.js
+2
-2
processor.js
src/utils/processor.js
+1
-1
request.js
src/utils/request.js
+1
-1
No files found.
src/index.js
View file @
e2bc2520
...
...
@@ -34,8 +34,8 @@ const plugView = {
export
const
initPluginsConfig
=
({
staticHeader
})
=>
{
window
.
isPluginsToAmos
=
true
;
window
.
r
equestInfo
=
{
window
.
is
Iot
PluginsToAmos
=
true
;
window
.
iotR
equestInfo
=
{
staticHeader
};
};
...
...
src/utils/processor.js
View file @
e2bc2520
...
...
@@ -9,7 +9,7 @@ import sysConsts from 'amos-processor/lib/config';
const
lsTool
=
Store
.
lsTool
;
const
defaultHeaders
=
()
=>
{
return
window
.
is
PluginsToAmos
?
window
.
r
equestInfo
.
staticHeader
:
{
return
window
.
is
IotPluginsToAmos
?
window
.
iotR
equestInfo
.
staticHeader
:
{
appKey
:
'AMOS_IOT'
,
product
:
'AMOS_IOT_WEB'
};
...
...
src/utils/request.js
View file @
e2bc2520
...
...
@@ -7,7 +7,7 @@ import payload from './payload';
const
lsTool
=
Store
.
lsTool
;
const
defaultHeaders
=
()
=>
{
return
window
.
is
PluginsToAmos
?
window
.
r
equestInfo
.
staticHeader
:
{
return
window
.
is
IotPluginsToAmos
?
window
.
iotR
equestInfo
.
staticHeader
:
{
appKey
:
'AMOS_IOT'
,
product
:
'AMOS_IOT_WEB'
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment