Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
L
luna
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
ops
luna
Commits
93dc40c3
Unverified
Commit
93dc40c3
authored
Sep 02, 2019
by
BaiJiangJie
Committed by
GitHub
Sep 02, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #101 from jumpserver/dev_bai
[Bugfix] 修改获取资产节点树URL
parents
d13ece2b
d7b46627
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
app.service.ts
src/app/app.service.ts
+2
-2
No files found.
src/app/app.service.ts
View file @
93dc40c3
...
@@ -71,7 +71,7 @@ export class HttpService {
...
@@ -71,7 +71,7 @@ export class HttpService {
}
}
get_my_granted_nodes
()
{
get_my_granted_nodes
()
{
return
this
.
http
.
get
<
Array
<
Node
>>
(
'/api/perms/v1/user
/nodes
-assets/tree/?cache_policy=1'
);
return
this
.
http
.
get
<
Array
<
Node
>>
(
'/api/perms/v1/user
s/nodes-with
-assets/tree/?cache_policy=1'
);
}
}
get_my_granted_remote_apps
()
{
get_my_granted_remote_apps
()
{
...
@@ -79,7 +79,7 @@ export class HttpService {
...
@@ -79,7 +79,7 @@ export class HttpService {
}
}
refresh_my_granted_nodes
()
{
refresh_my_granted_nodes
()
{
return
this
.
http
.
get
<
Array
<
Node
>>
(
'/api/perms/v1/user
/nodes
-assets/tree/?cache_policy=2'
);
return
this
.
http
.
get
<
Array
<
Node
>>
(
'/api/perms/v1/user
s/nodes-with
-assets/tree/?cache_policy=2'
);
}
}
get_guacamole_token
(
user_id
:
string
,
authToken
:
string
)
{
get_guacamole_token
(
user_id
:
string
,
authToken
:
string
)
{
...
...
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