Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2020-1-CloudComputing
/
D_Team_Khuloud
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
박기범
2020-06-09 00:44:54 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
69859169af946a52775e0c5a9e754433cf874add
69859169
1 parent
eb3d7e83
.
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletions
front-end/src/api/index.js
front-end/src/api/index.js
View file @
6985916
...
...
@@ -79,7 +79,16 @@ function downloadFile(fileData) {
},
});
}
function
accessedList
(
curData
){
return
axios
.
get
(
'api/quick'
,
{
params
:{
id
:
curData
.
id
},
});
}
function
modifyFile
(
fileData
){
return
axios
.
post
(
`/api/file/modify/
${
fileData
.
name
}
`
,
fileData
)
}
function
delFavorite
(
folderData
)
{
return
axios
.
post
(
'api/favorites/delfolder'
,
folderData
);
}
...
...
@@ -116,4 +125,7 @@ export {
moveFile
,
delFavoriteFile
,
addFavoriteFile
,
accessedList
,
detailFile
,
modifyFile
};
...
...
Please
register
or
login
to post a comment