Showing
1 changed file
with
13 additions
and
1 deletions
... | @@ -79,7 +79,16 @@ function downloadFile(fileData) { | ... | @@ -79,7 +79,16 @@ function downloadFile(fileData) { |
79 | }, | 79 | }, |
80 | }); | 80 | }); |
81 | } | 81 | } |
82 | - | 82 | +function accessedList(curData){ |
83 | + return axios.get('api/quick', { | ||
84 | + params:{ | ||
85 | + id: curData.id | ||
86 | + }, | ||
87 | + }); | ||
88 | +} | ||
89 | +function modifyFile(fileData){ | ||
90 | + return axios.post(`/api/file/modify/${fileData.name}`, fileData) | ||
91 | +} | ||
83 | function delFavorite(folderData) { | 92 | function delFavorite(folderData) { |
84 | return axios.post('api/favorites/delfolder', folderData); | 93 | return axios.post('api/favorites/delfolder', folderData); |
85 | } | 94 | } |
... | @@ -116,4 +125,7 @@ export { | ... | @@ -116,4 +125,7 @@ export { |
116 | moveFile, | 125 | moveFile, |
117 | delFavoriteFile, | 126 | delFavoriteFile, |
118 | addFavoriteFile, | 127 | addFavoriteFile, |
128 | + accessedList, | ||
129 | + detailFile, | ||
130 | + modifyFile | ||
119 | }; | 131 | }; | ... | ... |
-
Please register or login to post a comment