Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
a253b66e
Commit
a253b66e
authored
Dec 28, 2019
by
蒋勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d
parent
ed80e855
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
bigdata/app/base/api/api.base.js
+2
-1
bigdata/app/base/api/impl/meta/baseComp.js
+8
-3
No files found.
bigdata/app/base/api/api.base.js
View file @
a253b66e
...
...
@@ -26,7 +26,8 @@ class APIBase extends DocBase {
"auth.getAccessKey"
,
"meta.getBaseComp"
,
"meta.doc"
,
"meta.clearAllCache"
"meta.clearAllCache"
,
"meta.upline"
,
];
var
x
=
lst
.
indexOf
(
fullname
);
return
x
>=
0
;
...
...
bigdata/app/base/api/impl/meta/baseComp.js
View file @
a253b66e
...
...
@@ -8,12 +8,17 @@ class BaseCompAPI extends APIBase {
super
();
this
.
cachsearchesSve
=
system
.
getObject
(
"service.common.cachsearchesSve"
);
}
async
upline
(
pobj
,
gobj
,
req
){
console
.
log
(
JSON
.
stringify
(
pobj
));
}
async
clearAllCache
(
pobj
,
gobj
,
req
)
{
return
await
this
.
cachsearchesSve
.
clearAllCache
(
pobj
);
}
async
getBaseComp
()
{
if
(
cacheBaseComp
)
{
return
cacheBaseComp
;
return
system
.
getResult
(
cacheBaseComp
)
;
}
var
vuePath
=
settings
.
basepath
+
"/app/front/vues/base"
;
var
baseComps
=
[];
...
...
@@ -30,8 +35,8 @@ class BaseCompAPI extends APIBase {
baseComps
.
push
(
comp
);
});
}
// cacheBaseComp = escape(JSON.stringify(baseComps))
;
return
system
.
getResult
(
{
basecom
:
baseComps
}
);
cacheBaseComp
=
{
basecom
:
baseComps
}
;
return
system
.
getResult
(
cacheBaseComp
);
}
exam
()
{
...
...
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