diff --git a/src/js/request.js b/src/js/request.js index 9cf2249..b9894e1 100644 --- a/src/js/request.js +++ b/src/js/request.js @@ -580,6 +580,21 @@ const projectWorkGet = (data,token) => { }) } +/** + * 得到tag列表 + * @param token + */ +const getTagsProjectList = (token) =>{ + return axios({ + url:api+ "/tags/project/list", + method: "get", + headers:{ + 'Authorization':'Bearer '+token, + 'Timestamp': getCurrentTimestamp() + } + }) +} + export default { @@ -622,6 +637,8 @@ export default { projectWorkGet, - messageGet + messageGet, + + getTagsProjectList } \ No newline at end of file